Interface EntityDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EntityDescription.Builder,
,EntityDescription> SdkBuilder<EntityDescription.Builder,
,EntityDescription> SdkPojo
- Enclosing class:
EntityDescription
@Mutable
@NotThreadSafe
public static interface EntityDescription.Builder
extends SdkPojo, CopyableBuilder<EntityDescription.Builder,EntityDescription>
-
Method Summary
Modifier and TypeMethodDescriptionThe entity ARN.The time at which the entity was created.default EntityDescription.Builder
definition
(Consumer<DefinitionDocument.Builder> definition) The definition document of the entity.definition
(DefinitionDocument definition) The definition document of the entity.The entity ID.The entity type.type
(EntityType type) The entity type.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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The entity ID.
- Parameters:
id
- The entity ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The entity ARN.
- Parameters:
arn
- The entity ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The entity type.
- Parameters:
type
- The entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The entity type.
- Parameters:
type
- The entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time at which the entity was created.
- Parameters:
createdAt
- The time at which the entity was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The definition document of the entity.
- Parameters:
definition
- The definition document of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The definition document of the entity.
This is a convenience method that creates an instance of theDefinitionDocument.Builder
avoiding the need to create one manually viaDefinitionDocument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(DefinitionDocument)
.- Parameters:
definition
- a consumer that will call methods onDefinitionDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-