Interface DescribeWorkspaceSnapshotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkspaceSnapshotsResponse.Builder,DescribeWorkspaceSnapshotsResponse>,SdkBuilder<DescribeWorkspaceSnapshotsResponse.Builder,DescribeWorkspaceSnapshotsResponse>,SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
- DescribeWorkspaceSnapshotsResponse
public static interface DescribeWorkspaceSnapshotsResponse.Builder extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkspaceSnapshotsResponse.Builder,DescribeWorkspaceSnapshotsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeWorkspaceSnapshotsResponse.BuilderrebuildSnapshots(Collection<Snapshot> rebuildSnapshots)Information about the snapshots that can be used to rebuild a WorkSpace.DescribeWorkspaceSnapshotsResponse.BuilderrebuildSnapshots(Consumer<Snapshot.Builder>... rebuildSnapshots)Information about the snapshots that can be used to rebuild a WorkSpace.DescribeWorkspaceSnapshotsResponse.BuilderrebuildSnapshots(Snapshot... rebuildSnapshots)Information about the snapshots that can be used to rebuild a WorkSpace.DescribeWorkspaceSnapshotsResponse.BuilderrestoreSnapshots(Collection<Snapshot> restoreSnapshots)Information about the snapshots that can be used to restore a WorkSpace.DescribeWorkspaceSnapshotsResponse.BuilderrestoreSnapshots(Consumer<Snapshot.Builder>... restoreSnapshots)Information about the snapshots that can be used to restore a WorkSpace.DescribeWorkspaceSnapshotsResponse.BuilderrestoreSnapshots(Snapshot... restoreSnapshots)Information about the snapshots that can be used to restore a WorkSpace.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
rebuildSnapshots
DescribeWorkspaceSnapshotsResponse.Builder rebuildSnapshots(Collection<Snapshot> rebuildSnapshots)
Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.
- Parameters:
rebuildSnapshots- Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rebuildSnapshots
DescribeWorkspaceSnapshotsResponse.Builder rebuildSnapshots(Snapshot... rebuildSnapshots)
Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.
- Parameters:
rebuildSnapshots- Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rebuildSnapshots
DescribeWorkspaceSnapshotsResponse.Builder rebuildSnapshots(Consumer<Snapshot.Builder>... rebuildSnapshots)
Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.
This is a convenience method that creates an instance of theSnapshot.Builderavoiding the need to create one manually viaSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rebuildSnapshots(List.) - Parameters:
rebuildSnapshots- a consumer that will call methods onSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rebuildSnapshots(java.util.Collection)
-
restoreSnapshots
DescribeWorkspaceSnapshotsResponse.Builder restoreSnapshots(Collection<Snapshot> restoreSnapshots)
Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.
- Parameters:
restoreSnapshots- Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreSnapshots
DescribeWorkspaceSnapshotsResponse.Builder restoreSnapshots(Snapshot... restoreSnapshots)
Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.
- Parameters:
restoreSnapshots- Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreSnapshots
DescribeWorkspaceSnapshotsResponse.Builder restoreSnapshots(Consumer<Snapshot.Builder>... restoreSnapshots)
Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.
This is a convenience method that creates an instance of theSnapshot.Builderavoiding the need to create one manually viaSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#restoreSnapshots(List.) - Parameters:
restoreSnapshots- a consumer that will call methods onSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#restoreSnapshots(java.util.Collection)
-
-