Class ManagedClusterAddonProfileIdentity
java.lang.Object
com.azure.resourcemanager.containerservice.models.UserAssignedIdentity
com.azure.resourcemanager.containerservice.models.ManagedClusterAddonProfileIdentity
Information of user assigned identity used by this add-on.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterAddonProfileIdentity class. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.withClientId(String clientId) Set the clientId property: The client ID of the user assigned identity.withObjectId(String objectId) Set the objectId property: The object ID of the user assigned identity.withResourceId(String resourceId) Set the resourceId property: The resource ID of the user assigned identity.Methods inherited from class com.azure.resourcemanager.containerservice.models.UserAssignedIdentity
clientId, objectId, resourceId
-
Constructor Details
-
ManagedClusterAddonProfileIdentity
public ManagedClusterAddonProfileIdentity()Creates an instance of ManagedClusterAddonProfileIdentity class.
-
-
Method Details
-
withResourceId
Set the resourceId property: The resource ID of the user assigned identity.- Overrides:
withResourceIdin classUserAssignedIdentity- Parameters:
resourceId- the resourceId value to set.- Returns:
- the UserAssignedIdentity object itself.
-
withClientId
Set the clientId property: The client ID of the user assigned identity.- Overrides:
withClientIdin classUserAssignedIdentity- Parameters:
clientId- the clientId value to set.- Returns:
- the UserAssignedIdentity object itself.
-
withObjectId
Set the objectId property: The object ID of the user assigned identity.- Overrides:
withObjectIdin classUserAssignedIdentity- Parameters:
objectId- the objectId value to set.- Returns:
- the UserAssignedIdentity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classUserAssignedIdentity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-