Interface EntityReference.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<EntityReference.Builder,,- EntityReference> - SdkBuilder<EntityReference.Builder,,- EntityReference> - SdkPojo
- Enclosing class:
- EntityReference
@Mutable
@NotThreadSafe
public static interface EntityReference.Builder
extends SdkPojo, CopyableBuilder<EntityReference.Builder,EntityReference> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault EntityReference.Builderidentifier(Consumer<EntityIdentifier.Builder> identifier) The identifier of the entity.identifier(EntityIdentifier identifier) The identifier of the entity.unspecified(Boolean unspecified) Used to indicate that a principal or resource is not specified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
unspecifiedUsed 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.
 
- 
identifierThe 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.
 
- 
identifierThe 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 on- EntityIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-