com.microsoft.azure.management.graphrbac.implementation.PasswordCredentialInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-graph-rbac Show documentation
Show all versions of azure-mgmt-graph-rbac Show documentation
This package contains Microsoft Azure Graph RBAC Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-authorization is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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.
*/
public class PasswordCredentialInner {
/**
* Custom key identifier.
*/
@JsonProperty(value = "customKeyIdentifier")
private String customKeyIdentifier;
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map additionalProperties;
/**
* Start date.
*/
@JsonProperty(value = "startDate")
private DateTime startDate;
/**
* End date.
*/
@JsonProperty(value = "endDate")
private DateTime endDate;
/**
* Key ID.
*/
@JsonProperty(value = "keyId")
private String keyId;
/**
* Key value.
*/
@JsonProperty(value = "value")
private String value;
/**
* Get the customKeyIdentifier value.
*
* @return the customKeyIdentifier value
*/
public String customKeyIdentifier() {
return this.customKeyIdentifier;
}
/**
* 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.
*
* @return the additionalProperties value
*/
public Map additionalProperties() {
return this.additionalProperties;
}
/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the PasswordCredentialInner object itself.
*/
public PasswordCredentialInner withAdditionalProperties(Map additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
/**
* Get the startDate value.
*
* @return the startDate value
*/
public DateTime startDate() {
return this.startDate;
}
/**
* 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.
*
* @return the endDate value
*/
public DateTime endDate() {
return this.endDate;
}
/**
* 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.
*
* @return the keyId value
*/
public String keyId() {
return this.keyId;
}
/**
* 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.
*
* @return the value value
*/
public String value() {
return this.value;
}
/**
* 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;
}
}