Class OpenShiftManagedClusterIdentityProvider

java.lang.Object
com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterIdentityProvider
All Implemented Interfaces:
com.azure.json.JsonSerializable<OpenShiftManagedClusterIdentityProvider>

public final class OpenShiftManagedClusterIdentityProvider extends Object implements com.azure.json.JsonSerializable<OpenShiftManagedClusterIdentityProvider>
Defines the configuration of the identity providers to be used in the OpenShift cluster.
  • Constructor Details

    • OpenShiftManagedClusterIdentityProvider

      public OpenShiftManagedClusterIdentityProvider()
      Creates an instance of OpenShiftManagedClusterIdentityProvider class.
  • Method Details

    • name

      public String 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

      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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<OpenShiftManagedClusterIdentityProvider>
      Throws:
      IOException
    • fromJson

      public static OpenShiftManagedClusterIdentityProvider fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OpenShiftManagedClusterIdentityProvider from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OpenShiftManagedClusterIdentityProvider if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the OpenShiftManagedClusterIdentityProvider.