Class UserAssignedIdentity
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.UserAssignedIdentity
-
- Direct Known Subclasses:
ManagedClusterAddonProfileIdentity
public class UserAssignedIdentity extends Object
Details about a user assigned identity.
-
-
Constructor Summary
Constructors Constructor Description UserAssignedIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclientId()Get the clientId property: The client ID of the user assigned identity.StringobjectId()Get the objectId property: The object ID of the user assigned identity.StringresourceId()Get the resourceId property: The resource ID of the user assigned identity.voidvalidate()Validates the instance.UserAssignedIdentitywithClientId(String clientId)Set the clientId property: The client ID of the user assigned identity.UserAssignedIdentitywithObjectId(String objectId)Set the objectId property: The object ID of the user assigned identity.UserAssignedIdentitywithResourceId(String resourceId)Set the resourceId property: The resource ID of the user assigned identity.
-
-
-
Method Detail
-
resourceId
public String resourceId()
Get the resourceId property: The resource ID of the user assigned identity.- Returns:
- the resourceId value.
-
withResourceId
public UserAssignedIdentity withResourceId(String resourceId)
Set the resourceId property: The resource ID of the user assigned identity.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the UserAssignedIdentity object itself.
-
clientId
public String clientId()
Get the clientId property: The client ID of the user assigned identity.- Returns:
- the clientId value.
-
withClientId
public UserAssignedIdentity withClientId(String clientId)
Set the clientId property: The client ID of the user assigned identity.- Parameters:
clientId- the clientId value to set.- Returns:
- the UserAssignedIdentity object itself.
-
objectId
public String objectId()
Get the objectId property: The object ID of the user assigned identity.- Returns:
- the objectId value.
-
withObjectId
public UserAssignedIdentity withObjectId(String objectId)
Set the objectId property: The object ID of the user assigned identity.- Parameters:
objectId- the objectId value to set.- Returns:
- the UserAssignedIdentity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-