public static interface Snapshot.Builder extends SdkPojo, CopyableBuilder<Snapshot.Builder,Snapshot>
| Modifier and Type | Method and Description |
|---|---|
Snapshot.Builder |
administrativeActions(AdministrativeAction... administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed.
|
Snapshot.Builder |
administrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed.
|
Snapshot.Builder |
administrativeActions(Consumer<AdministrativeAction.Builder>... administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed.
|
Snapshot.Builder |
creationTime(Instant creationTime)
Sets the value of the CreationTime property for this object.
|
Snapshot.Builder |
lifecycle(SnapshotLifecycle lifecycle)
The lifecycle status of the snapshot.
|
Snapshot.Builder |
lifecycle(String lifecycle)
The lifecycle status of the snapshot.
|
default Snapshot.Builder |
lifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason)
Sets the value of the LifecycleTransitionReason property for this object.
|
Snapshot.Builder |
lifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
Sets the value of the LifecycleTransitionReason property for this object.
|
Snapshot.Builder |
name(String name)
The name of the snapshot.
|
Snapshot.Builder |
resourceARN(String resourceARN)
Sets the value of the ResourceARN property for this object.
|
Snapshot.Builder |
snapshotId(String snapshotId)
The ID of the snapshot.
|
Snapshot.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
Snapshot.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
Snapshot.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
Snapshot.Builder |
volumeId(String volumeId)
The ID of the volume that the snapshot is of.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSnapshot.Builder resourceARN(String resourceARN)
resourceARN - The new value for the ResourceARN property for this object.Snapshot.Builder snapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.Snapshot.Builder name(String name)
The name of the snapshot.
name - The name of the snapshot.Snapshot.Builder volumeId(String volumeId)
The ID of the volume that the snapshot is of.
volumeId - The ID of the volume that the snapshot is of.Snapshot.Builder creationTime(Instant creationTime)
creationTime - The new value for the CreationTime property for this object.Snapshot.Builder lifecycle(String lifecycle)
The lifecycle status of the snapshot.
PENDING - Amazon FSx hasn't started creating the snapshot.
CREATING - Amazon FSx is creating the snapshot.
DELETING - Amazon FSx is deleting the snapshot.
AVAILABLE - The snapshot is fully available.
lifecycle - The lifecycle status of the snapshot.
PENDING - Amazon FSx hasn't started creating the snapshot.
CREATING - Amazon FSx is creating the snapshot.
DELETING - Amazon FSx is deleting the snapshot.
AVAILABLE - The snapshot is fully available.
SnapshotLifecycle,
SnapshotLifecycleSnapshot.Builder lifecycle(SnapshotLifecycle lifecycle)
The lifecycle status of the snapshot.
PENDING - Amazon FSx hasn't started creating the snapshot.
CREATING - Amazon FSx is creating the snapshot.
DELETING - Amazon FSx is deleting the snapshot.
AVAILABLE - The snapshot is fully available.
lifecycle - The lifecycle status of the snapshot.
PENDING - Amazon FSx hasn't started creating the snapshot.
CREATING - Amazon FSx is creating the snapshot.
DELETING - Amazon FSx is deleting the snapshot.
AVAILABLE - The snapshot is fully available.
SnapshotLifecycle,
SnapshotLifecycleSnapshot.Builder lifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
lifecycleTransitionReason - The new value for the LifecycleTransitionReason property for this object.default Snapshot.Builder lifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason)
LifecycleTransitionReason.Builder
avoiding the need to create one manually via LifecycleTransitionReason.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to lifecycleTransitionReason(LifecycleTransitionReason).
lifecycleTransitionReason - a consumer that will call methods on LifecycleTransitionReason.BuilderlifecycleTransitionReason(LifecycleTransitionReason)Snapshot.Builder tags(Collection<Tag> tags)
tags - The new value for the Tags property for this object.Snapshot.Builder tags(Tag... tags)
tags - The new value for the Tags property for this object.Snapshot.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Snapshot.Builder administrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
administrativeActions - A list of administrative actions for the file system that are in process or waiting to be processed.
Administrative actions describe changes to the Amazon FSx system.Snapshot.Builder administrativeActions(AdministrativeAction... administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
administrativeActions - A list of administrative actions for the file system that are in process or waiting to be processed.
Administrative actions describe changes to the Amazon FSx system.Snapshot.Builder administrativeActions(Consumer<AdministrativeAction.Builder>... administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
This is a convenience method that creates an instance of theAdministrativeAction.Builder avoiding the need to create
one manually via AdministrativeAction.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #administrativeActions(List.
administrativeActions - a consumer that will call methods on
AdministrativeAction.Builder#administrativeActions(java.util.Collection) Copyright © 2023. All rights reserved.