Interface DescribeWorkspaceSnapshotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkspaceSnapshotsResponse.Builder,,DescribeWorkspaceSnapshotsResponse> SdkBuilder<DescribeWorkspaceSnapshotsResponse.Builder,,DescribeWorkspaceSnapshotsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
DescribeWorkspaceSnapshotsResponse
-
Method Summary
Modifier and TypeMethodDescriptionrebuildSnapshots(Collection<Snapshot> rebuildSnapshots) Information about the snapshots that can be used to rebuild a WorkSpace.rebuildSnapshots(Consumer<Snapshot.Builder>... rebuildSnapshots) Information about the snapshots that can be used to rebuild a WorkSpace.rebuildSnapshots(Snapshot... rebuildSnapshots) Information about the snapshots that can be used to rebuild a WorkSpace.restoreSnapshots(Collection<Snapshot> restoreSnapshots) Information about the snapshots that can be used to restore a WorkSpace.restoreSnapshots(Consumer<Snapshot.Builder>... restoreSnapshots) Information about the snapshots that can be used to restore a WorkSpace.restoreSnapshots(Snapshot... restoreSnapshots) Information about the snapshots that can be used to restore a WorkSpace.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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 torebuildSnapshots(List<Snapshot>).- 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:
-
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
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 torestoreSnapshots(List<Snapshot>).- 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:
-