public static interface EntityReference.Builder extends SdkPojo, CopyableBuilder<EntityReference.Builder,EntityReference>
| Modifier and Type | Method and Description |
|---|---|
default EntityReference.Builder |
identifier(Consumer<EntityIdentifier.Builder> identifier)
The identifier of the entity.
|
EntityReference.Builder |
identifier(EntityIdentifier identifier)
The identifier of the entity.
|
EntityReference.Builder |
unspecified(Boolean unspecified)
Used to indicate that a principal or resource is not specified.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEntityReference.Builder unspecified(Boolean unspecified)
Used to indicate that a principal or resource is not specified. This can be used to search for policies that are not associated with a specific principal or resource.
unspecified - Used to indicate that a principal or resource is not specified. This can be used to search for
policies that are not associated with a specific principal or resource.EntityReference.Builder identifier(EntityIdentifier identifier)
The identifier of the entity. It can consist of either an EntityType and EntityId, a principal, or a resource.
identifier - The identifier of the entity. It can consist of either an EntityType and EntityId, a principal, or a
resource.default EntityReference.Builder identifier(Consumer<EntityIdentifier.Builder> identifier)
The identifier of the entity. It can consist of either an EntityType and EntityId, a principal, or a resource.
This is a convenience method that creates an instance of theEntityIdentifier.Builder avoiding the
need to create one manually via EntityIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to identifier(EntityIdentifier).
identifier - a consumer that will call methods on EntityIdentifier.Builderidentifier(EntityIdentifier)Copyright © 2023. All rights reserved.