Class UserAssignedIdentity

java.lang.Object
com.azure.resourcemanager.dynatrace.models.UserAssignedIdentity

public class UserAssignedIdentity extends Object
A managed identity assigned by the user.
  • Constructor Details

    • UserAssignedIdentity

      public UserAssignedIdentity()
  • Method Details

    • clientId

      public String clientId()
      Get the clientId property: The active directory client identifier for this principal.
      Returns:
      the clientId value.
    • withClientId

      public UserAssignedIdentity withClientId(String clientId)
      Set the clientId property: The active directory client identifier for this principal.
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the UserAssignedIdentity object itself.
    • principalId

      public String principalId()
      Get the principalId property: The active directory identifier for this principal.
      Returns:
      the principalId value.
    • withPrincipalId

      public UserAssignedIdentity withPrincipalId(String principalId)
      Set the principalId property: The active directory identifier for this principal.
      Parameters:
      principalId - the principalId value to set.
      Returns:
      the UserAssignedIdentity object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.