Class CustomEntityStoreAssignmentRequestProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.CustomEntityStoreAssignmentRequestProperties

public final class CustomEntityStoreAssignmentRequestProperties extends Object
describes properties of custom entity store assignment request.
  • Constructor Details

    • CustomEntityStoreAssignmentRequestProperties

      public CustomEntityStoreAssignmentRequestProperties()
  • Method Details

    • principal

      public String principal()
      Get the principal property: The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId].
      Returns:
      the principal value.
    • withPrincipal

      public CustomEntityStoreAssignmentRequestProperties withPrincipal(String principal)
      Set the principal property: The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId].
      Parameters:
      principal - the principal value to set.
      Returns:
      the CustomEntityStoreAssignmentRequestProperties object itself.
    • validate

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