Class OpenShiftManagedClusterAadIdentityProvider
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterBaseIdentityProvider
-
- com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterAadIdentityProvider
-
public final class OpenShiftManagedClusterAadIdentityProvider extends OpenShiftManagedClusterBaseIdentityProvider
Defines the Identity provider for MS AAD.
-
-
Constructor Summary
Constructors Constructor Description OpenShiftManagedClusterAadIdentityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclientId()Get the clientId property: The clientId password associated with the provider.StringcustomerAdminGroupId()Get the customerAdminGroupId property: The groupId to be granted cluster admin role.Stringsecret()Get the secret property: The secret password associated with the provider.StringtenantId()Get the tenantId property: The tenantId associated with the provider.voidvalidate()Validates the instance.OpenShiftManagedClusterAadIdentityProviderwithClientId(String clientId)Set the clientId property: The clientId password associated with the provider.OpenShiftManagedClusterAadIdentityProviderwithCustomerAdminGroupId(String customerAdminGroupId)Set the customerAdminGroupId property: The groupId to be granted cluster admin role.OpenShiftManagedClusterAadIdentityProviderwithSecret(String secret)Set the secret property: The secret password associated with the provider.OpenShiftManagedClusterAadIdentityProviderwithTenantId(String tenantId)Set the tenantId property: The tenantId associated with the provider.
-
-
-
Method Detail
-
clientId
public String clientId()
Get the clientId property: The clientId password associated with the provider.- Returns:
- the clientId value.
-
withClientId
public OpenShiftManagedClusterAadIdentityProvider withClientId(String clientId)
Set the clientId property: The clientId password associated with the provider.- Parameters:
clientId- the clientId value to set.- Returns:
- the OpenShiftManagedClusterAadIdentityProvider object itself.
-
secret
public String secret()
Get the secret property: The secret password associated with the provider.- Returns:
- the secret value.
-
withSecret
public OpenShiftManagedClusterAadIdentityProvider withSecret(String secret)
Set the secret property: The secret password associated with the provider.- Parameters:
secret- the secret value to set.- Returns:
- the OpenShiftManagedClusterAadIdentityProvider object itself.
-
tenantId
public String tenantId()
Get the tenantId property: The tenantId associated with the provider.- Returns:
- the tenantId value.
-
withTenantId
public OpenShiftManagedClusterAadIdentityProvider withTenantId(String tenantId)
Set the tenantId property: The tenantId associated with the provider.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the OpenShiftManagedClusterAadIdentityProvider object itself.
-
customerAdminGroupId
public String customerAdminGroupId()
Get the customerAdminGroupId property: The groupId to be granted cluster admin role.- Returns:
- the customerAdminGroupId value.
-
withCustomerAdminGroupId
public OpenShiftManagedClusterAadIdentityProvider withCustomerAdminGroupId(String customerAdminGroupId)
Set the customerAdminGroupId property: The groupId to be granted cluster admin role.- Parameters:
customerAdminGroupId- the customerAdminGroupId value to set.- Returns:
- the OpenShiftManagedClusterAadIdentityProvider object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classOpenShiftManagedClusterBaseIdentityProvider- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-