Class OpenShiftManagedClusterIdentityProvider
java.lang.Object
com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterIdentityProvider
Defines the configuration of the identity providers to be used in the OpenShift cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OpenShiftManagedClusterIdentityProvider class. -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: Name of the provider.provider()Get the provider property: Configuration of the provider.voidvalidate()Validates the instance.Set the name property: Name of the provider.Set the provider property: Configuration of the provider.
-
Constructor Details
-
OpenShiftManagedClusterIdentityProvider
public OpenShiftManagedClusterIdentityProvider()Creates an instance of OpenShiftManagedClusterIdentityProvider class.
-
-
Method Details
-
name
Get the name property: Name of the provider.- Returns:
- the name value.
-
withName
Set the name property: Name of the provider.- Parameters:
name- the name value to set.- Returns:
- the OpenShiftManagedClusterIdentityProvider object itself.
-
provider
Get the provider property: Configuration of the provider.- Returns:
- the provider value.
-
withProvider
public OpenShiftManagedClusterIdentityProvider withProvider(OpenShiftManagedClusterBaseIdentityProvider provider) Set the provider property: Configuration of the provider.- Parameters:
provider- the provider value to set.- Returns:
- the OpenShiftManagedClusterIdentityProvider object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-