Interface DescribeDataSharesForProducerResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDataSharesForProducerResponse.Builder,DescribeDataSharesForProducerResponse>
,RedshiftResponse.Builder
,SdkBuilder<DescribeDataSharesForProducerResponse.Builder,DescribeDataSharesForProducerResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeDataSharesForProducerResponse
public static interface DescribeDataSharesForProducerResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeDataSharesForProducerResponse.Builder,DescribeDataSharesForProducerResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDataSharesForProducerResponse.Builder
dataShares(Collection<DataShare> dataShares)
Shows the results of datashares available for producers.DescribeDataSharesForProducerResponse.Builder
dataShares(Consumer<DataShare.Builder>... dataShares)
Shows the results of datashares available for producers.DescribeDataSharesForProducerResponse.Builder
dataShares(DataShare... dataShares)
Shows the results of datashares available for producers.DescribeDataSharesForProducerResponse.Builder
marker(String marker)
An optional parameter that specifies the starting point to return a set of response records.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dataShares
DescribeDataSharesForProducerResponse.Builder dataShares(Collection<DataShare> dataShares)
Shows the results of datashares available for producers.
- Parameters:
dataShares
- Shows the results of datashares available for producers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataShares
DescribeDataSharesForProducerResponse.Builder dataShares(DataShare... dataShares)
Shows the results of datashares available for producers.
- Parameters:
dataShares
- Shows the results of datashares available for producers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataShares
DescribeDataSharesForProducerResponse.Builder dataShares(Consumer<DataShare.Builder>... dataShares)
Shows the results of datashares available for producers.
This is a convenience method that creates an instance of theDataShare.Builder
avoiding the need to create one manually viaDataShare.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#dataShares(List
.) - Parameters:
dataShares
- a consumer that will call methods onDataShare.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dataShares(java.util.Collection
)
-
marker
DescribeDataSharesForProducerResponse.Builder marker(String marker)
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForProducer request exceed the value specified in
MaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
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 DescribeDataSharesForProducer request exceed the value specified inMaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-