OpenShiftManagedClusterIdentityProvider Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterIdentityProvider

Implements

public final class OpenShiftManagedClusterIdentityProvider
implements JsonSerializable<OpenShiftManagedClusterIdentityProvider>

Defines the configuration of the identity providers to be used in the OpenShift cluster.

Constructor Summary

Constructor Description
OpenShiftManagedClusterIdentityProvider()

Creates an instance of OpenShiftManagedClusterIdentityProvider class.

Method Summary

Modifier and Type Method and Description
static OpenShiftManagedClusterIdentityProvider fromJson(JsonReader jsonReader)

Reads an instance of OpenShiftManagedClusterIdentityProvider from the JsonReader.

String name()

Get the name property: Name of the provider.

OpenShiftManagedClusterBaseIdentityProvider provider()

Get the provider property: Configuration of the provider.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OpenShiftManagedClusterIdentityProvider withName(String name)

Set the name property: Name of the provider.

OpenShiftManagedClusterIdentityProvider withProvider(OpenShiftManagedClusterBaseIdentityProvider provider)

Set the provider property: Configuration of the provider.

Methods inherited from java.lang.Object

Constructor Details

OpenShiftManagedClusterIdentityProvider

public OpenShiftManagedClusterIdentityProvider()

Creates an instance of OpenShiftManagedClusterIdentityProvider class.

Method Details

fromJson

public static OpenShiftManagedClusterIdentityProvider fromJson(JsonReader jsonReader)

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.

name

public String name()

Get the name property: Name of the provider.

Returns:

the name value.

provider

public OpenShiftManagedClusterBaseIdentityProvider provider()

Get the provider property: Configuration of the provider.

Returns:

the provider value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to