Class ManagedClusterAddonProfileIdentity
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.UserAssignedIdentity
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterAddonProfileIdentity
-
public class ManagedClusterAddonProfileIdentity extends UserAssignedIdentity
Information of user assigned identity used by this add-on.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterAddonProfileIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.ManagedClusterAddonProfileIdentitywithClientId(String clientId)Set the clientId property: The client ID of the user assigned identity.ManagedClusterAddonProfileIdentitywithObjectId(String objectId)Set the objectId property: The object ID of the user assigned identity.ManagedClusterAddonProfileIdentitywithResourceId(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
-
-
-
-
Method Detail
-
withResourceId
public ManagedClusterAddonProfileIdentity withResourceId(String resourceId)
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
public ManagedClusterAddonProfileIdentity withClientId(String clientId)
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
public ManagedClusterAddonProfileIdentity withObjectId(String objectId)
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.
-
-