Class PasswordCredentialInner
- java.lang.Object
-
- com.azure.resourcemanager.azurestackhci.fluent.models.PasswordCredentialInner
-
public final class PasswordCredentialInner extends Object
The PasswordCredential model.
-
-
Constructor Summary
Constructors Constructor Description PasswordCredentialInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
endDateTime()
Get the endDateTime property: The endDateTime property.String
keyId()
Get the keyId property: The keyId property.String
secretText()
Get the secretText property: The secretText property.OffsetDateTime
startDateTime()
Get the startDateTime property: The startDateTime property.void
validate()
Validates the instance.PasswordCredentialInner
withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The endDateTime property.PasswordCredentialInner
withKeyId(String keyId)
Set the keyId property: The keyId property.PasswordCredentialInner
withSecretText(String secretText)
Set the secretText property: The secretText property.PasswordCredentialInner
withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The startDateTime property.
-
-
-
Method Detail
-
secretText
public String secretText()
Get the secretText property: The secretText property.- Returns:
- the secretText value.
-
withSecretText
public PasswordCredentialInner withSecretText(String secretText)
Set the secretText property: The secretText property.- Parameters:
secretText
- the secretText value to set.- Returns:
- the PasswordCredentialInner object itself.
-
keyId
public String keyId()
Get the keyId property: The keyId property.- Returns:
- the keyId value.
-
withKeyId
public PasswordCredentialInner withKeyId(String keyId)
Set the keyId property: The keyId property.- Parameters:
keyId
- the keyId value to set.- Returns:
- the PasswordCredentialInner object itself.
-
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: The startDateTime property.- Returns:
- the startDateTime value.
-
withStartDateTime
public PasswordCredentialInner withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The startDateTime property.- Parameters:
startDateTime
- the startDateTime value to set.- Returns:
- the PasswordCredentialInner object itself.
-
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime property: The endDateTime property.- Returns:
- the endDateTime value.
-
withEndDateTime
public PasswordCredentialInner withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The endDateTime property.- Parameters:
endDateTime
- the endDateTime value to set.- Returns:
- the PasswordCredentialInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-