Interface RestoreVolumeFromSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RestoreVolumeFromSnapshotResponse.Builder,RestoreVolumeFromSnapshotResponse>,FSxResponse.Builder,SdkBuilder<RestoreVolumeFromSnapshotResponse.Builder,RestoreVolumeFromSnapshotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- RestoreVolumeFromSnapshotResponse
public static interface RestoreVolumeFromSnapshotResponse.Builder extends FSxResponse.Builder, SdkPojo, CopyableBuilder<RestoreVolumeFromSnapshotResponse.Builder,RestoreVolumeFromSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestoreVolumeFromSnapshotResponse.BuilderadministrativeActions(Collection<AdministrativeAction> administrativeActions)A list of administrative actions for the file system that are in process or waiting to be processed.RestoreVolumeFromSnapshotResponse.BuilderadministrativeActions(Consumer<AdministrativeAction.Builder>... administrativeActions)A list of administrative actions for the file system that are in process or waiting to be processed.RestoreVolumeFromSnapshotResponse.BuilderadministrativeActions(AdministrativeAction... administrativeActions)A list of administrative actions for the file system that are in process or waiting to be processed.RestoreVolumeFromSnapshotResponse.Builderlifecycle(String lifecycle)The lifecycle state of the volume being restored.RestoreVolumeFromSnapshotResponse.Builderlifecycle(VolumeLifecycle lifecycle)The lifecycle state of the volume being restored.RestoreVolumeFromSnapshotResponse.BuildervolumeId(String volumeId)The ID of the volume that you restored.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
volumeId
RestoreVolumeFromSnapshotResponse.Builder volumeId(String volumeId)
The ID of the volume that you restored.
- Parameters:
volumeId- The ID of the volume that you restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
RestoreVolumeFromSnapshotResponse.Builder lifecycle(String lifecycle)
The lifecycle state of the volume being restored.
- Parameters:
lifecycle- The lifecycle state of the volume being restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VolumeLifecycle,VolumeLifecycle
-
lifecycle
RestoreVolumeFromSnapshotResponse.Builder lifecycle(VolumeLifecycle lifecycle)
The lifecycle state of the volume being restored.
- Parameters:
lifecycle- The lifecycle state of the volume being restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VolumeLifecycle,VolumeLifecycle
-
administrativeActions
RestoreVolumeFromSnapshotResponse.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.
- 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
RestoreVolumeFromSnapshotResponse.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.
- 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
RestoreVolumeFromSnapshotResponse.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.Builderavoiding the need to create one manually viaAdministrativeAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#administrativeActions(List.) - 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:
#administrativeActions(java.util.Collection)
-
-