CredentialSetProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. CredentialSetProperties
- com.
Implements
public final class CredentialSetProperties
implements JsonSerializable<CredentialSetProperties>
The properties of a credential set resource.
Constructor Summary
| Constructor | Description |
|---|---|
| CredentialSetProperties() |
Creates an instance of Credential |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Auth |
authCredentials()
Get the auth |
|
Offset |
creationDate()
Get the creation |
|
static
Credential |
fromJson(JsonReader jsonReader)
Reads an instance of Credential |
| String |
loginServer()
Get the login |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Credential |
withAuthCredentials(List<AuthCredential> authCredentials)
Set the auth |
|
Credential |
withLoginServer(String loginServer)
Set the login |
Methods inherited from java.lang.Object
Constructor Details
CredentialSetProperties
public CredentialSetProperties()
Creates an instance of CredentialSetProperties class.
Method Details
authCredentials
public List<AuthCredential> authCredentials()
Get the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The creation date of credential store resource.
Returns:
fromJson
public static CredentialSetProperties fromJson(JsonReader jsonReader)
Reads an instance of CredentialSetProperties from the JsonReader.
Parameters:
Returns:
Throws:
loginServer
public String loginServer()
Get the loginServer property: The credentials are stored for this upstream or login server.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAuthCredentials
public CredentialSetProperties withAuthCredentials(List<AuthCredential> authCredentials)
Set the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
Parameters:
Returns:
withLoginServer
public CredentialSetProperties withLoginServer(String loginServer)
Set the loginServer property: The credentials are stored for this upstream or login server.
Parameters:
Returns: