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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EntityDescription.Builderarn(String arn)The entity ARN.EntityDescription.BuildercreatedAt(Instant createdAt)The time at which the entity was created.default EntityDescription.Builderdefinition(Consumer<DefinitionDocument.Builder> definition)The definition document of the entity.EntityDescription.Builderdefinition(DefinitionDocument definition)The definition document of the entity.EntityDescription.Builderid(String id)The entity ID.EntityDescription.Buildertype(String type)The entity type.EntityDescription.Buildertype(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, sdkFields
-
-
-
-
Method Detail
-
id
EntityDescription.Builder id(String 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
EntityDescription.Builder arn(String 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
EntityDescription.Builder type(String 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:
EntityType,EntityType
-
type
EntityDescription.Builder type(EntityType 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:
EntityType,EntityType
-
createdAt
EntityDescription.Builder createdAt(Instant 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
EntityDescription.Builder definition(DefinitionDocument 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
default EntityDescription.Builder definition(Consumer<DefinitionDocument.Builder> 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:
definition(DefinitionDocument)
-
-