Interface DescribeSnapshotsRequest.Builder

    • Method Detail

      • snapshotIds

        DescribeSnapshotsRequest.Builder snapshotIds​(Collection<String> snapshotIds)

        The IDs of the snapshots that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a SnapshotNotFound error occurs.

        Parameters:
        snapshotIds - The IDs of the snapshots that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a SnapshotNotFound error occurs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotIds

        DescribeSnapshotsRequest.Builder snapshotIds​(String... snapshotIds)

        The IDs of the snapshots that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a SnapshotNotFound error occurs.

        Parameters:
        snapshotIds - The IDs of the snapshots that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a SnapshotNotFound error occurs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeSnapshotsRequest.Builder filters​(Collection<SnapshotFilter> filters)

        The filters structure. The supported names are file-system-id or volume-id.

        Parameters:
        filters - The filters structure. The supported names are file-system-id or volume-id.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeSnapshotsRequest.Builder filters​(SnapshotFilter... filters)

        The filters structure. The supported names are file-system-id or volume-id.

        Parameters:
        filters - The filters structure. The supported names are file-system-id or volume-id.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        DescribeSnapshotsRequest.Builder maxResults​(Integer maxResults)
        Sets the value of the MaxResults property for this object.
        Parameters:
        maxResults - The new value for the MaxResults property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeSnapshotsRequest.Builder nextToken​(String nextToken)
        Sets the value of the NextToken property for this object.
        Parameters:
        nextToken - The new value for the NextToken property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeShared

        DescribeSnapshotsRequest.Builder includeShared​(Boolean includeShared)

        Set to false (default) if you want to only see the snapshots in your Amazon Web Services account. Set to true if you want to see the snapshots in your account and the ones shared with you from another account.

        Parameters:
        includeShared - Set to false (default) if you want to only see the snapshots in your Amazon Web Services account. Set to true if you want to see the snapshots in your account and the ones shared with you from another account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.