Interface Snapshot.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Snapshot.Builder,
,Snapshot> SdkBuilder<Snapshot.Builder,
,Snapshot> SdkPojo
- Enclosing class:
Snapshot
-
Method Summary
Modifier and TypeMethodDescriptionadministrativeActions
(Collection<AdministrativeAction> administrativeActions) A list of administrative actions for the file system that are in process or waiting to be processed.administrativeActions
(Consumer<AdministrativeAction.Builder>... administrativeActions) A list of administrative actions for the file system that are in process or waiting to be processed.administrativeActions
(AdministrativeAction... administrativeActions) A list of administrative actions for the file system that are in process or waiting to be processed.creationTime
(Instant creationTime) Sets the value of the CreationTime property for this object.The lifecycle status of the snapshot.lifecycle
(SnapshotLifecycle 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.lifecycleTransitionReason
(LifecycleTransitionReason lifecycleTransitionReason) Sets the value of the LifecycleTransitionReason property for this object.The name of the snapshot.resourceARN
(String resourceARN) Sets the value of the ResourceARN property for this object.snapshotId
(String snapshotId) The ID of the snapshot.tags
(Collection<Tag> tags) Sets the value of the Tags property for this object.tags
(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.The ID of the volume that the snapshot is of.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
-
resourceARN
Sets the value of the ResourceARN property for this object.- Parameters:
resourceARN
- The new value for the ResourceARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
The ID of the snapshot.
- Parameters:
snapshotId
- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the snapshot.
- Parameters:
name
- The name of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeId
The ID of the volume that the snapshot is of.
- Parameters:
volumeId
- The ID of the volume that the snapshot is of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
Sets the value of the CreationTime property for this object.- Parameters:
creationTime
- The new value for the CreationTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
lifecycleTransitionReason
Sets the value of the LifecycleTransitionReason property for this object.- Parameters:
lifecycleTransitionReason
- The new value for the LifecycleTransitionReason property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleTransitionReason
default Snapshot.Builder lifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason) Sets the value of the LifecycleTransitionReason property for this object. This is a convenience method that creates an instance of theLifecycleTransitionReason.Builder
avoiding the need to create one manually viaLifecycleTransitionReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycleTransitionReason(LifecycleTransitionReason)
.- Parameters:
lifecycleTransitionReason
- a consumer that will call methods onLifecycleTransitionReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
administrativeActions
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 viaAdministrativeAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadministrativeActions(List<AdministrativeAction>)
.- Parameters:
administrativeActions
- a consumer that will call methods onAdministrativeAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-