Interface DescribeWorkspaceSnapshotsResponse.Builder

    • 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 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).

        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:
        #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 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).

        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:
        #restoreSnapshots(java.util.Collection)