Class TokenCredentialsProperties
java.lang.Object
com.azure.resourcemanager.containerregistry.models.TokenCredentialsProperties
The properties of the credentials that can be used for authenticating the token.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TokenCredentialsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificates property: The certificates property.Get the passwords property: The passwords property.voidvalidate()Validates the instance.withCertificates(List<TokenCertificate> certificates) Set the certificates property: The certificates property.withPasswords(List<TokenPassword> passwords) Set the passwords property: The passwords property.
-
Constructor Details
-
TokenCredentialsProperties
public TokenCredentialsProperties()Creates an instance of TokenCredentialsProperties class.
-
-
Method Details
-
certificates
Get the certificates property: The certificates property.- Returns:
- the certificates value.
-
withCertificates
Set the certificates property: The certificates property.- Parameters:
certificates- the certificates value to set.- Returns:
- the TokenCredentialsProperties object itself.
-
passwords
Get the passwords property: The passwords property.- Returns:
- the passwords value.
-
withPasswords
Set the passwords property: The passwords property.- Parameters:
passwords- the passwords value to set.- Returns:
- the TokenCredentialsProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-