Class OpenShiftManagedClusterIdentityProvider
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterIdentityProvider
-
public final class OpenShiftManagedClusterIdentityProvider extends Object
Defines the configuration of the identity providers to be used in the OpenShift cluster.
-
-
Constructor Summary
Constructors Constructor Description OpenShiftManagedClusterIdentityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: Name of the provider.OpenShiftManagedClusterBaseIdentityProviderprovider()Get the provider property: Configuration of the provider.voidvalidate()Validates the instance.OpenShiftManagedClusterIdentityProviderwithName(String name)Set the name property: Name of the provider.OpenShiftManagedClusterIdentityProviderwithProvider(OpenShiftManagedClusterBaseIdentityProvider provider)Set the provider property: Configuration of the provider.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the provider.- Returns:
- the name value.
-
withName
public OpenShiftManagedClusterIdentityProvider withName(String name)
Set the name property: Name of the provider.- Parameters:
name- the name value to set.- Returns:
- the OpenShiftManagedClusterIdentityProvider object itself.
-
provider
public OpenShiftManagedClusterBaseIdentityProvider 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.
-
-