Interface DescribeDataSharesResponse.Builder

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

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

    • dataShares

      The results returned from describing datashares.

      Parameters:
      dataShares - The results returned from describing datashares.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataShares

      DescribeDataSharesResponse.Builder dataShares(DataShare... dataShares)

      The results returned from describing datashares.

      Parameters:
      dataShares - The results returned from describing datashares.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataShares

      The results returned from describing datashares.

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

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

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

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares 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.

      Parameters:
      marker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.