public static interface EntityItem.Builder extends SdkPojo, CopyableBuilder<EntityItem.Builder,EntityItem>
| Modifier and Type | Method and Description |
|---|---|
EntityItem.Builder |
attributes(Map<String,AttributeValue> attributes)
A list of attributes for the entity.
|
default EntityItem.Builder |
identifier(Consumer<EntityIdentifier.Builder> identifier)
The identifier of the entity.
|
EntityItem.Builder |
identifier(EntityIdentifier identifier)
The identifier of the entity.
|
EntityItem.Builder |
parents(Collection<EntityIdentifier> parents)
The parents in the hierarchy that contains the entity.
|
EntityItem.Builder |
parents(Consumer<EntityIdentifier.Builder>... parents)
The parents in the hierarchy that contains the entity.
|
EntityItem.Builder |
parents(EntityIdentifier... parents)
The parents in the hierarchy that contains the entity.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEntityItem.Builder identifier(EntityIdentifier identifier)
The identifier of the entity.
identifier - The identifier of the entity.default EntityItem.Builder identifier(Consumer<EntityIdentifier.Builder> 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 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)EntityItem.Builder attributes(Map<String,AttributeValue> attributes)
A list of attributes for the entity.
attributes - A list of attributes for the entity.EntityItem.Builder parents(Collection<EntityIdentifier> parents)
The parents in the hierarchy that contains the entity.
parents - The parents in the hierarchy that contains the entity.EntityItem.Builder parents(EntityIdentifier... parents)
The parents in the hierarchy that contains the entity.
parents - The parents in the hierarchy that contains the entity.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.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 #parents(List.
parents - a consumer that will call methods on
EntityIdentifier.Builder#parents(java.util.Collection) Copyright © 2023. All rights reserved.