Class DescribeDataSharesForProducerRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshift.model.RedshiftRequest
-
- software.amazon.awssdk.services.redshift.model.DescribeDataSharesForProducerRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeDataSharesForProducerRequest.Builder,DescribeDataSharesForProducerRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeDataSharesForProducerRequest extends RedshiftRequest implements ToCopyableBuilder<DescribeDataSharesForProducerRequest.Builder,DescribeDataSharesForProducerRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeDataSharesForProducerRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeDataSharesForProducerRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmarker()An optional parameter that specifies the starting point to return a set of response records.IntegermaxRecords()The maximum number of response records to return in each call.StringproducerArn()The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.List<SdkField<?>>sdkFields()static Class<? extends DescribeDataSharesForProducerRequest.Builder>serializableBuilderClass()DataShareStatusForProducerstatus()An identifier giving the status of a datashare in the producer.StringstatusAsString()An identifier giving the status of a datashare in the producer.DescribeDataSharesForProducerRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
producerArn
public final String producerArn()
The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.
- Returns:
- The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.
-
status
public final DataShareStatusForProducer status()
An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDataShareStatusForProducer.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
- See Also:
DataShareStatusForProducer
-
statusAsString
public final String statusAsString()
An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDataShareStatusForProducer.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
- See Also:
DataShareStatusForProducer
-
maxRecords
public final Integer 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.- Returns:
- 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.
-
marker
public final 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 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:
- 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 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.
-
toBuilder
public DescribeDataSharesForProducerRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeDataSharesForProducerRequest.Builder,DescribeDataSharesForProducerRequest>- Specified by:
toBuilderin classRedshiftRequest
-
builder
public static DescribeDataSharesForProducerRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeDataSharesForProducerRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-