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
Modifier and TypeMethodDescriptionattributes
(Map<String, AttributeValue> attributes) A list of attributes for the entity.default EntityItem.Builder
identifier
(Consumer<EntityIdentifier.Builder> identifier) The identifier of the entity.identifier
(EntityIdentifier identifier) The identifier of the entity.parents
(Collection<EntityIdentifier> parents) The parents in the hierarchy that contains the entity.parents
(Consumer<EntityIdentifier.Builder>... parents) The parents in the hierarchy that contains the entity.parents
(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 Details
-
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
The identifier of the entity.
This is a convenience method that creates an instance of theEntityIdentifier.Builder
avoiding the need to create one manually viaEntityIdentifier.builder()
.When the
Consumer
completes,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:
-
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
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
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
The parents in the hierarchy that contains the entity.
This is a convenience method that creates an instance of theEntityIdentifier.Builder
avoiding the need to create one manually viaEntityIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparents(List<EntityIdentifier>)
.- 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:
-