Interface EntityItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EntityItem.Builder,EntityItem>,SdkBuilder<EntityItem.Builder,EntityItem>,SdkPojo
- Enclosing class:
- EntityItem
public static interface EntityItem.Builder extends SdkPojo, CopyableBuilder<EntityItem.Builder,EntityItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EntityItem.Builderattributes(Map<String,AttributeValue> attributes)A list of attributes for the entity.default EntityItem.Builderidentifier(Consumer<EntityIdentifier.Builder> identifier)The identifier of the entity.EntityItem.Builderidentifier(EntityIdentifier identifier)The identifier of the entity.EntityItem.Builderparents(Collection<EntityIdentifier> parents)The parents in the hierarchy that contains the entity.EntityItem.Builderparents(Consumer<EntityIdentifier.Builder>... parents)The parents in the hierarchy that contains the entity.EntityItem.Builderparents(EntityIdentifier... parents)The parents in the hierarchy that contains the entity.-
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
-
identifier
EntityItem.Builder identifier(EntityIdentifier identifier)
The identifier of the entity.
- Parameters:
identifier- The identifier of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
default EntityItem.Builder identifier(Consumer<EntityIdentifier.Builder> identifier)
The identifier of the entity.
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)
-
attributes
EntityItem.Builder attributes(Map<String,AttributeValue> attributes)
A list of attributes for the entity.
- Parameters:
attributes- A list of attributes for the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parents
EntityItem.Builder parents(Collection<EntityIdentifier> parents)
The parents in the hierarchy that contains the entity.
- Parameters:
parents- The parents in the hierarchy that contains the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parents
EntityItem.Builder parents(EntityIdentifier... parents)
The parents in the hierarchy that contains the entity.
- Parameters:
parents- The parents in the hierarchy that contains the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parents
EntityItem.Builder parents(Consumer<EntityIdentifier.Builder>... parents)
The parents in the hierarchy that contains the entity.
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 to#parents(List.) - Parameters:
parents- 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:
#parents(java.util.Collection)
-
-