Interface LifecycleExecutionSnapshotResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LifecycleExecutionSnapshotResource.Builder,
,LifecycleExecutionSnapshotResource> SdkBuilder<LifecycleExecutionSnapshotResource.Builder,
,LifecycleExecutionSnapshotResource> SdkPojo
- Enclosing class:
LifecycleExecutionSnapshotResource
@Mutable
@NotThreadSafe
public static interface LifecycleExecutionSnapshotResource.Builder
extends SdkPojo, CopyableBuilder<LifecycleExecutionSnapshotResource.Builder,LifecycleExecutionSnapshotResource>
-
Method Summary
Modifier and TypeMethodDescriptionsnapshotId
(String snapshotId) Identifies the impacted snapshot resource.The runtime status of the lifecycle action taken for the snapshot.The runtime status of the lifecycle action taken for the snapshot.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
-
snapshotId
Identifies the impacted snapshot resource.
- Parameters:
snapshotId
- Identifies the impacted snapshot resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The runtime status of the lifecycle action taken for the snapshot.
- Parameters:
state
- The runtime status of the lifecycle action taken for the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
default LifecycleExecutionSnapshotResource.Builder state(Consumer<LifecycleExecutionResourceState.Builder> state) The runtime status of the lifecycle action taken for the snapshot.
This is a convenience method that creates an instance of theLifecycleExecutionResourceState.Builder
avoiding the need to create one manually viaLifecycleExecutionResourceState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostate(LifecycleExecutionResourceState)
.- Parameters:
state
- a consumer that will call methods onLifecycleExecutionResourceState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-