Class MicrosoftGraphPasswordCredentialInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPasswordCredentialInner
-
public final class MicrosoftGraphPasswordCredentialInner extends Object
passwordCredential.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPasswordCredentialInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: passwordCredential.byte[]
customKeyIdentifier()
Get the customKeyIdentifier property: Do not use.String
displayName()
Get the displayName property: Friendly name for the password.OffsetDateTime
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.String
hint()
Get the hint property: Contains the first three characters of the password.UUID
keyId()
Get the keyId property: The unique identifier for the password.String
secretText()
Get the secretText property: Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length.OffsetDateTime
startDateTime()
Get the startDateTime property: The date and time at which the password becomes valid.void
validate()
Validates the instance.MicrosoftGraphPasswordCredentialInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: passwordCredential.MicrosoftGraphPasswordCredentialInner
withCustomKeyIdentifier(byte[] customKeyIdentifier)
Set the customKeyIdentifier property: Do not use.MicrosoftGraphPasswordCredentialInner
withDisplayName(String displayName)
Set the displayName property: Friendly name for the password.MicrosoftGraphPasswordCredentialInner
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.MicrosoftGraphPasswordCredentialInner
withHint(String hint)
Set the hint property: Contains the first three characters of the password.MicrosoftGraphPasswordCredentialInner
withKeyId(UUID keyId)
Set the keyId property: The unique identifier for the password.MicrosoftGraphPasswordCredentialInner
withSecretText(String secretText)
Set the secretText property: Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length.MicrosoftGraphPasswordCredentialInner
withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The date and time at which the password becomes valid.
-
-
-
Method Detail
-
customKeyIdentifier
public byte[] customKeyIdentifier()
Get the customKeyIdentifier property: Do not use.- Returns:
- the customKeyIdentifier value.
-
withCustomKeyIdentifier
public MicrosoftGraphPasswordCredentialInner withCustomKeyIdentifier(byte[] customKeyIdentifier)
Set the customKeyIdentifier property: Do not use.- Parameters:
customKeyIdentifier
- the customKeyIdentifier value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
displayName
public String displayName()
Get the displayName property: Friendly name for the password. Optional.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphPasswordCredentialInner withDisplayName(String displayName)
Set the displayName property: Friendly name for the password. Optional.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
endDateTime
public OffsetDateTime 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
public MicrosoftGraphPasswordCredentialInner 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. 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
public String hint()
Get the hint property: Contains the first three characters of the password. Read-only.- Returns:
- the hint value.
-
withHint
public MicrosoftGraphPasswordCredentialInner withHint(String hint)
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
public UUID keyId()
Get the keyId property: The unique identifier for the password.- Returns:
- the keyId value.
-
withKeyId
public MicrosoftGraphPasswordCredentialInner withKeyId(UUID keyId)
Set the keyId property: The unique identifier for the password.- Parameters:
keyId
- the keyId value to set.- Returns:
- the MicrosoftGraphPasswordCredentialInner object itself.
-
secretText
public String 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
public MicrosoftGraphPasswordCredentialInner withSecretText(String secretText)
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
public OffsetDateTime 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
public MicrosoftGraphPasswordCredentialInner withStartDateTime(OffsetDateTime startDateTime)
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
public Map<String,Object> 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.
-
-