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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaLifecycleExecutionResourceState.builder().When the
Consumercompletes,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:
-