Interface EntityReference.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EntityReference.Builder,EntityReference>,SdkBuilder<EntityReference.Builder,EntityReference>,SdkPojo
- Enclosing class:
- EntityReference
public static interface EntityReference.Builder extends SdkPojo, CopyableBuilder<EntityReference.Builder,EntityReference>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EntityReference.Builderidentifier(Consumer<EntityIdentifier.Builder> identifier)The identifier of the entity.EntityReference.Builderidentifier(EntityIdentifier identifier)The identifier of the entity.EntityReference.Builderunspecified(Boolean unspecified)Used to indicate that a principal or resource is not specified.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
unspecified
EntityReference.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
EntityReference.Builder identifier(EntityIdentifier identifier)
The identifier of the entity. It can consist of either an EntityType and EntityId, a principal, or a resource.
- Parameters:
identifier- The identifier of the entity. It can consist of either an EntityType and EntityId, a principal, or a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
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.Builderavoiding the need to create one manually viaEntityIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentifier(EntityIdentifier).- Parameters:
identifier- a consumer that will call methods onEntityIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
identifier(EntityIdentifier)
-
-