Interface InstanceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceSummary.Builder,
,InstanceSummary> SdkBuilder<InstanceSummary.Builder,
,InstanceSummary> SdkPojo
- Enclosing class:
InstanceSummary
public static interface InstanceSummary.Builder
extends SdkPojo, CopyableBuilder<InstanceSummary.Builder,InstanceSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstanceSummary.Builder
instance
(Consumer<Instance.Builder> instance) A structure containing details about the instance.A structure containing details about the instance.lastUpdatedAt
(Instant lastUpdatedAt) When the instance summary was last 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, sdkFields
-
Method Details
-
instance
A structure containing details about the instance.
- Parameters:
instance
- A structure containing details about the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instance
A structure containing details about the instance.
This is a convenience method that creates an instance of theInstance.Builder
avoiding the need to create one manually viaInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstance(Instance)
.- Parameters:
instance
- a consumer that will call methods onInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedAt
When the instance summary was last updated.
- Parameters:
lastUpdatedAt
- When the instance summary was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-