CustomEntityStoreAssignmentRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.CustomEntityStoreAssignmentRequest

public final class CustomEntityStoreAssignmentRequest

describes the custom entity store assignment request.

Constructor Summary

Constructor Description
CustomEntityStoreAssignmentRequest()

Creates an instance of CustomEntityStoreAssignmentRequest class.

Method Summary

Modifier and Type Method and Description
String principal()

Get the principal property: The principal assigned with entity store.

void validate()

Validates the instance.

CustomEntityStoreAssignmentRequest withPrincipal(String principal)

Set the principal property: The principal assigned with entity store.

Methods inherited from java.lang.Object

Constructor Details

CustomEntityStoreAssignmentRequest

public CustomEntityStoreAssignmentRequest()

Creates an instance of CustomEntityStoreAssignmentRequest class.

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.

validate

public void validate()

Validates the instance.

withPrincipal

public CustomEntityStoreAssignmentRequest 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 CustomEntityStoreAssignmentRequest object itself.

Applies to