Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.graphrbac.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.joda.time.DateTime;
import java.util.Map;
Active Directory Password Credential information.
/**
* Active Directory Password Credential information.
*/
public class PasswordCredentialInner {
Custom key identifier.
/**
* Custom key identifier.
*/
@JsonProperty(value = "customKeyIdentifier")
private String customKeyIdentifier;
Unmatched properties from the message are deserialized this collection.
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> additionalProperties;
Start date.
/**
* Start date.
*/
@JsonProperty(value = "startDate")
private DateTime startDate;
End date.
/**
* End date.
*/
@JsonProperty(value = "endDate")
private DateTime endDate;
Key ID.
/**
* Key ID.
*/
@JsonProperty(value = "keyId")
private String keyId;
Key value.
/**
* Key value.
*/
@JsonProperty(value = "value")
private String value;
Get the customKeyIdentifier value.
Returns: the customKeyIdentifier value
/**
* Get the customKeyIdentifier value.
*
* @return the customKeyIdentifier value
*/
public String customKeyIdentifier() {
return this.customKeyIdentifier;
}
Set the customKeyIdentifier value.
Params: - customKeyIdentifier – the customKeyIdentifier value to set
Returns: the PasswordCredentialInner object itself.
/**
* Set the customKeyIdentifier value.
*
* @param customKeyIdentifier the customKeyIdentifier value to set
* @return the PasswordCredentialInner object itself.
*/
public PasswordCredentialInner withCustomKeyIdentifier(String customKeyIdentifier) {
this.customKeyIdentifier = customKeyIdentifier;
return this;
}
Get the additionalProperties value.
Returns: the additionalProperties value
/**
* Get the additionalProperties value.
*
* @return the additionalProperties value
*/
public Map<String, Object> additionalProperties() {
return this.additionalProperties;
}
Set the additionalProperties value.
Params: - additionalProperties – the additionalProperties value to set
Returns: the PasswordCredentialInner object itself.
/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the PasswordCredentialInner object itself.
*/
public PasswordCredentialInner withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
Get the startDate value.
Returns: the startDate value
/**
* Get the startDate value.
*
* @return the startDate value
*/
public DateTime startDate() {
return this.startDate;
}
Set the startDate value.
Params: - startDate – the startDate value to set
Returns: the PasswordCredentialInner object itself.
/**
* Set the startDate value.
*
* @param startDate the startDate value to set
* @return the PasswordCredentialInner object itself.
*/
public PasswordCredentialInner withStartDate(DateTime startDate) {
this.startDate = startDate;
return this;
}
Get the endDate value.
Returns: the endDate value
/**
* Get the endDate value.
*
* @return the endDate value
*/
public DateTime endDate() {
return this.endDate;
}
Set the endDate value.
Params: - endDate – the endDate value to set
Returns: the PasswordCredentialInner object itself.
/**
* Set the endDate value.
*
* @param endDate the endDate value to set
* @return the PasswordCredentialInner object itself.
*/
public PasswordCredentialInner withEndDate(DateTime endDate) {
this.endDate = endDate;
return this;
}
Get the keyId value.
Returns: the keyId value
/**
* Get the keyId value.
*
* @return the keyId value
*/
public String keyId() {
return this.keyId;
}
Set the keyId value.
Params: - keyId – the keyId value to set
Returns: the PasswordCredentialInner object itself.
/**
* Set the keyId value.
*
* @param keyId the keyId value to set
* @return the PasswordCredentialInner object itself.
*/
public PasswordCredentialInner withKeyId(String keyId) {
this.keyId = keyId;
return this;
}
Get the value value.
Returns: the value value
/**
* Get the value value.
*
* @return the value value
*/
public String value() {
return this.value;
}
Set the value value.
Params: - value – the value value to set
Returns: the PasswordCredentialInner object itself.
/**
* Set the value value.
*
* @param value the value value to set
* @return the PasswordCredentialInner object itself.
*/
public PasswordCredentialInner withValue(String value) {
this.value = value;
return this;
}
}