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 Details

    • 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

      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 the Snapshot.Builder avoiding the need to create one manually via Snapshot.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rebuildSnapshots(List<Snapshot>).

      Parameters:
      rebuildSnapshots - a consumer that will call methods on Snapshot.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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 the Snapshot.Builder avoiding the need to create one manually via Snapshot.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to restoreSnapshots(List<Snapshot>).

      Parameters:
      restoreSnapshots - a consumer that will call methods on Snapshot.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: