Interface EntitySummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EntitySummary.Builder,
,EntitySummary> SdkBuilder<EntitySummary.Builder,
,EntitySummary> SdkPojo
- Enclosing class:
EntitySummary
@Mutable
@NotThreadSafe
public static interface EntitySummary.Builder
extends SdkPojo, CopyableBuilder<EntitySummary.Builder,EntitySummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the entity.creationDateTime
(Instant creationDateTime) The date and time when the entity was created.description
(String description) The description of the entity.The ID of the entity.entityName
(String entityName) The name of the entity.hasChildEntities
(Boolean hasChildEntities) An eventual Boolean value that specifies whether the entity has child entities or not.parentEntityId
(String parentEntityId) The ID of the parent entity.default EntitySummary.Builder
status
(Consumer<Status.Builder> status) The current status of the entity.The current status of the entity.updateDateTime
(Instant updateDateTime) The last date and time when the entity was updated.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
-
entityId
The ID of the entity.
- Parameters:
entityId
- The ID of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityName
The name of the entity.
- Parameters:
entityName
- The name of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the entity.
- Parameters:
arn
- The ARN of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentEntityId
The ID of the parent entity.
- Parameters:
parentEntityId
- The ID of the parent entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the entity.
- Parameters:
status
- The current status of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the entity.
This is a convenience method that creates an instance of theStatus.Builder
avoiding the need to create one manually viaStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(Status)
.- Parameters:
status
- a consumer that will call methods onStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the entity.
- Parameters:
description
- The description of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasChildEntities
An eventual Boolean value that specifies whether the entity has child entities or not.
- Parameters:
hasChildEntities
- An eventual Boolean value that specifies whether the entity has child entities or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
The date and time when the entity was created.
- Parameters:
creationDateTime
- The date and time when the entity was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateDateTime
The last date and time when the entity was updated.
- Parameters:
updateDateTime
- The last date and time when the entity was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-