Class MicrosoftGraphPasswordCredentialInner
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPasswordCredentialInner
passwordCredential.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphPasswordCredentialInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: passwordCredential.byte[]Get the customKeyIdentifier property: Do not use.Get the displayName property: Friendly name for the password.Get the endDateTime property: The date and time at which the password expires represented using ISO 8601 format and is always in UTC time.hint()Get the hint property: Contains the first three characters of the password.keyId()Get the keyId property: The unique identifier for the password.Get the secretText property: Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length.Get the startDateTime property: The date and time at which the password becomes valid.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: passwordCredential.withCustomKeyIdentifier(byte[] customKeyIdentifier) Set the customKeyIdentifier property: Do not use.withDisplayName(String displayName) Set the displayName property: Friendly name for the password.withEndDateTime(OffsetDateTime endDateTime) Set the endDateTime property: The date and time at which the password expires represented using ISO 8601 format and is always in UTC time.Set the hint property: Contains the first three characters of the password.Set the keyId property: The unique identifier for the password.withSecretText(String secretText) Set the secretText property: Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length.withStartDateTime(OffsetDateTime startDateTime) Set the startDateTime property: The date and time at which the password becomes valid.
-
Constructor Details
-
MicrosoftGraphPasswordCredentialInner
public MicrosoftGraphPasswordCredentialInner()Creates an instance of MicrosoftGraphPasswordCredentialInner class.
-
-
Method Details
-
customKeyIdentifier
public byte[] customKeyIdentifier()Get the customKeyIdentifier property: Do not use.- Returns:
- the customKeyIdentifier value.
-
withCustomKeyIdentifier
Set the customKeyIdentifier property: Do not use.- Parameters:
customKeyIdentifier- the customKeyIdentifier value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
displayName
Get the displayName property: Friendly name for the password. Optional.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Friendly name for the password. Optional.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
endDateTime
Get the endDateTime property: The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional.- Returns:
- the endDateTime value.
-
withEndDateTime
Set the endDateTime property: The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional.- Parameters:
endDateTime- the endDateTime value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
hint
Get the hint property: Contains the first three characters of the password. Read-only.- Returns:
- the hint value.
-
withHint
Set the hint property: Contains the first three characters of the password. Read-only.- Parameters:
hint- the hint value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
keyId
Get the keyId property: The unique identifier for the password.- Returns:
- the keyId value.
-
withKeyId
Set the keyId property: The unique identifier for the password.- Parameters:
keyId- the keyId value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
secretText
Get the secretText property: Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future.- Returns:
- the secretText value.
-
withSecretText
Set the secretText property: Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future.- Parameters:
secretText- the secretText value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
startDateTime
Get the startDateTime property: The date and time at which the password becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional.- Returns:
- the startDateTime value.
-
withStartDateTime
Set the startDateTime property: The date and time at which the password becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional.- Parameters:
startDateTime- the startDateTime value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
additionalProperties
Get the additionalProperties property: passwordCredential.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPasswordCredentialInner withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: passwordCredential.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-