ManagedClusterAddonProfileIdentity Class

public final class ManagedClusterAddonProfileIdentity
extends UserAssignedIdentity

Information of user assigned identity used by this add-on.

Constructor Summary

Constructor Description
ManagedClusterAddonProfileIdentity()

Creates an instance of ManagedClusterAddonProfileIdentity class.

Method Summary

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

Reads an instance of ManagedClusterAddonProfileIdentity from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterAddonProfileIdentity withClientId(String clientId)

Set the clientId property: The client ID of the user assigned identity.

ManagedClusterAddonProfileIdentity withObjectId(String objectId)

Set the objectId property: The object ID of the user assigned identity.

ManagedClusterAddonProfileIdentity withResourceId(String resourceId)

Set the resourceId property: The resource ID of the user assigned identity.

Methods inherited from UserAssignedIdentity

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterAddonProfileIdentity

public ManagedClusterAddonProfileIdentity()

Creates an instance of ManagedClusterAddonProfileIdentity class.

Method Details

fromJson

public static ManagedClusterAddonProfileIdentity fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterAddonProfileIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterAddonProfileIdentity 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 ManagedClusterAddonProfileIdentity.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedClusterAddonProfileIdentity.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

ManagedClusterAddonProfileIdentity.validate()

withClientId

public ManagedClusterAddonProfileIdentity withClientId(String clientId)

Set the clientId property: The client ID of the user assigned identity.

Overrides:

ManagedClusterAddonProfileIdentity.withClientId(String clientId)

Parameters:

clientId

withObjectId

public ManagedClusterAddonProfileIdentity withObjectId(String objectId)

Set the objectId property: The object ID of the user assigned identity.

Overrides:

ManagedClusterAddonProfileIdentity.withObjectId(String objectId)

Parameters:

objectId

withResourceId

public ManagedClusterAddonProfileIdentity withResourceId(String resourceId)

Set the resourceId property: The resource ID of the user assigned identity.

Overrides:

ManagedClusterAddonProfileIdentity.withResourceId(String resourceId)

Parameters:

resourceId

Applies to