Interface EntityDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntityDescription.Builder,,EntityDescription> SdkBuilder<EntityDescription.Builder,,EntityDescription> SdkPojo
- Enclosing class:
EntityDescription
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.Builderdefinition(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaDefinitionDocument.builder().When the
Consumercompletes,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:
-