IdentityBindingManagedIdentityProfile Class

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

Implements

public final class IdentityBindingManagedIdentityProfile
implements JsonSerializable<IdentityBindingManagedIdentityProfile>

Managed identity profile for the identity binding.

Constructor Summary

Constructor Description
IdentityBindingManagedIdentityProfile()

Creates an instance of IdentityBindingManagedIdentityProfile class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: The client ID of the managed identity.

static IdentityBindingManagedIdentityProfile fromJson(JsonReader jsonReader)

Reads an instance of IdentityBindingManagedIdentityProfile from the JsonReader.

String objectId()

Get the objectId property: The object ID of the managed identity.

String resourceId()

Get the resourceId property: The resource ID of the managed identity.

String tenantId()

Get the tenantId property: The tenant ID of the managed identity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IdentityBindingManagedIdentityProfile withResourceId(String resourceId)

Set the resourceId property: The resource ID of the managed identity.

Methods inherited from java.lang.Object

Constructor Details

IdentityBindingManagedIdentityProfile

public IdentityBindingManagedIdentityProfile()

Creates an instance of IdentityBindingManagedIdentityProfile class.

Method Details

clientId

public String clientId()

Get the clientId property: The client ID of the managed identity.

Returns:

the clientId value.

fromJson

public static IdentityBindingManagedIdentityProfile fromJson(JsonReader jsonReader)

Reads an instance of IdentityBindingManagedIdentityProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IdentityBindingManagedIdentityProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

objectId

public String objectId()

Get the objectId property: The object ID of the managed identity.

Returns:

the objectId value.

resourceId

public String resourceId()

Get the resourceId property: The resource ID of the managed identity.

Returns:

the resourceId value.

tenantId

public String tenantId()

Get the tenantId property: The tenant ID of the managed identity.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResourceId

public IdentityBindingManagedIdentityProfile withResourceId(String resourceId)

Set the resourceId property: The resource ID of the managed identity.

Parameters:

resourceId - the resourceId value to set.

Returns:

the IdentityBindingManagedIdentityProfile object itself.

Applies to