TokenCredentialsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. TokenCredentialsProperties
- com.
Implements
public final class TokenCredentialsProperties
implements JsonSerializable<TokenCredentialsProperties>
The properties of the credentials that can be used for authenticating the token.
Constructor Summary
Constructor | Description |
---|---|
TokenCredentialsProperties() |
Creates an instance of Token |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Token |
certificates()
Get the certificates property: The certificates property. |
static
Token |
fromJson(JsonReader jsonReader)
Reads an instance of Token |
List<Token |
passwords()
Get the passwords property: The passwords property. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Token |
withCertificates(List<TokenCertificate> certificates)
Set the certificates property: The certificates property. |
Token |
withPasswords(List<TokenPassword> passwords)
Set the passwords property: The passwords property. |
Methods inherited from java.lang.Object
Constructor Details
TokenCredentialsProperties
public TokenCredentialsProperties()
Creates an instance of TokenCredentialsProperties class.
Method Details
certificates
public List
Get the certificates property: The certificates property.
Returns:
fromJson
public static TokenCredentialsProperties fromJson(JsonReader jsonReader)
Reads an instance of TokenCredentialsProperties from the JsonReader.
Parameters:
Returns:
Throws:
passwords
public List
Get the passwords property: The passwords property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCertificates
public TokenCredentialsProperties withCertificates(List
Set the certificates property: The certificates property.
Parameters:
Returns:
withPasswords
public TokenCredentialsProperties withPasswords(List
Set the passwords property: The passwords property.
Parameters:
Returns:
Applies to
Azure SDK for Java