MicrosoftGraphPasswordCredentialInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPasswordCredentialInner
- com.
Implements
public final class MicrosoftGraphPasswordCredentialInner
implements JsonSerializable<MicrosoftGraphPasswordCredentialInner>
passwordCredential.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPasswordCredentialInner() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
byte[] |
customKeyIdentifier()
Get the custom |
String |
displayName()
Get the display |
Offset |
endDateTime()
Get the end |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
hint()
Get the hint property: Contains the first three characters of the password. |
UUID |
keyId()
Get the key |
String |
secretText()
Get the secret |
Offset |
startDateTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCustomKeyIdentifier(byte[] customKeyIdentifier)
Set the custom |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withEndDateTime(OffsetDateTime endDateTime)
Set the end |
Microsoft |
withHint(String hint)
Set the hint property: Contains the first three characters of the password. |
Microsoft |
withKeyId(UUID keyId)
Set the key |
Microsoft |
withSecretText(String secretText)
Set the secret |
Microsoft |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPasswordCredentialInner
public MicrosoftGraphPasswordCredentialInner()
Creates an instance of MicrosoftGraphPasswordCredentialInner class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: passwordCredential.
Returns:
customKeyIdentifier
public byte[] customKeyIdentifier()
Get the customKeyIdentifier property: Do not use.
Returns:
displayName
public String displayName()
Get the displayName property: Friendly name for the password. Optional.
Returns:
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:
fromJson
public static MicrosoftGraphPasswordCredentialInner fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPasswordCredentialInner from the JsonReader.
Parameters:
Returns:
Throws:
hint
public String hint()
Get the hint property: Contains the first three characters of the password. Read-only.
Returns:
keyId
public UUID keyId()
Get the keyId property: The unique identifier for the password.
Returns:
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:
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:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphPasswordCredentialInner withAdditionalProperties(Map
Set the additionalProperties property: passwordCredential.
Parameters:
Returns:
withCustomKeyIdentifier
public MicrosoftGraphPasswordCredentialInner withCustomKeyIdentifier(byte[] customKeyIdentifier)
Set the customKeyIdentifier property: Do not use.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphPasswordCredentialInner withDisplayName(String displayName)
Set the displayName property: Friendly name for the password. Optional.
Parameters:
Returns:
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:
Returns:
withHint
public MicrosoftGraphPasswordCredentialInner withHint(String hint)
Set the hint property: Contains the first three characters of the password. Read-only.
Parameters:
Returns:
withKeyId
public MicrosoftGraphPasswordCredentialInner withKeyId(UUID keyId)
Set the keyId property: The unique identifier for the password.
Parameters:
Returns:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java