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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
MaxRecordsvalue, a value is returned in amarkerfield 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 specifiedMaxRecordsvalue, a value is returned in amarkerfield 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 theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter 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 theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-