Interface DescribeSnapshotCopyGrantsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>, RedshiftResponse.Builder, SdkBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeSnapshotCopyGrantsResponse

public static interface DescribeSnapshotCopyGrantsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>
  • Method Details

    • marker

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeSnapshotCopyGrant request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

      Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

      Parameters:
      marker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeSnapshotCopyGrant request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

      Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotCopyGrants

      The list of SnapshotCopyGrant objects.

      Parameters:
      snapshotCopyGrants - The list of SnapshotCopyGrant objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotCopyGrants

      DescribeSnapshotCopyGrantsResponse.Builder snapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)

      The list of SnapshotCopyGrant objects.

      Parameters:
      snapshotCopyGrants - The list of SnapshotCopyGrant objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotCopyGrants

      The list of SnapshotCopyGrant objects.

      This is a convenience method that creates an instance of the SnapshotCopyGrant.Builder avoiding the need to create one manually via SnapshotCopyGrant.builder().

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

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