Interface DescribeDataSharesForConsumerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeDataSharesForConsumerRequest.Builder,
,DescribeDataSharesForConsumerRequest> RedshiftRequest.Builder
,SdkBuilder<DescribeDataSharesForConsumerRequest.Builder,
,DescribeDataSharesForConsumerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeDataSharesForConsumerRequest
-
Method Summary
Modifier and TypeMethodDescriptionconsumerArn
(String consumerArn) The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.An optional parameter that specifies the starting point to return a set of response records.maxRecords
(Integer maxRecords) The maximum number of response records to return in each call.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An identifier giving the status of a datashare in the consumer cluster.status
(DataShareStatusForConsumer status) An identifier giving the status of a datashare in the consumer cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
consumerArn
The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
- Parameters:
consumerArn
- The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
- Parameters:
status
- An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxRecords
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.- Parameters:
maxRecords
- The maximum number of response records to return in each call. If the number of remaining response records exceeds the specifiedMaxRecords
value, a value is returned in amarker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer 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 DescribeDataSharesForConsumer 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.
-
overrideConfiguration
DescribeDataSharesForConsumerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeDataSharesForConsumerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-