public final class ContainerServicePrincipalProfile extends Object
Constructor and Description |
---|
ContainerServicePrincipalProfile() |
Modifier and Type | Method and Description |
---|---|
String |
clientId()
Get the clientId property: The ID for the service principal.
|
String |
secret()
Get the secret property: The secret password associated with the service principal.
|
void |
validate()
Validates the instance.
|
ContainerServicePrincipalProfile |
withClientId(String clientId)
Set the clientId property: The ID for the service principal.
|
ContainerServicePrincipalProfile |
withSecret(String secret)
Set the secret property: The secret password associated with the service principal.
|
public String clientId()
public ContainerServicePrincipalProfile withClientId(String clientId)
clientId
- the clientId value to set.public String secret()
public ContainerServicePrincipalProfile withSecret(String secret)
secret
- the secret value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.