@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDataSharesForConsumerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeDataSharesForConsumerRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeDataSharesForConsumerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConsumerArn()
The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
|
String |
getMarker()
An optional parameter that specifies the starting point to return a set of response records.
|
Integer |
getMaxRecords()
The maximum number of response records to return in each call.
|
String |
getStatus()
An identifier giving the status of a datashare in the consumer cluster.
|
int |
hashCode() |
void |
setConsumerArn(String consumerArn)
The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
|
void |
setMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of response records to return in each call.
|
void |
setStatus(String status)
An identifier giving the status of a datashare in the consumer cluster.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDataSharesForConsumerRequest |
withConsumerArn(String consumerArn)
The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
|
DescribeDataSharesForConsumerRequest |
withMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records.
|
DescribeDataSharesForConsumerRequest |
withMaxRecords(Integer maxRecords)
The maximum number of response records to return in each call.
|
DescribeDataSharesForConsumerRequest |
withStatus(DataShareStatusForConsumer status)
An identifier giving the status of a datashare in the consumer cluster.
|
DescribeDataSharesForConsumerRequest |
withStatus(String status)
An identifier giving the status of a datashare in the consumer cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeDataSharesForConsumerRequest()
public void setConsumerArn(String consumerArn)
The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
consumerArn
- The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.public String getConsumerArn()
The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
public DescribeDataSharesForConsumerRequest withConsumerArn(String consumerArn)
The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
consumerArn
- The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.public void setStatus(String 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.
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.DataShareStatusForConsumer
public String getStatus()
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.
DataShareStatusForConsumer
public DescribeDataSharesForConsumerRequest withStatus(String 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.
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.DataShareStatusForConsumer
public DescribeDataSharesForConsumerRequest withStatus(DataShareStatusForConsumer 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.
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.DataShareStatusForConsumer
public void setMaxRecords(Integer 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 a marker
field of the
response. You can retrieve the next set of records by retrying the command with the returned marker value.
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 a marker
field of
the response. You can retrieve the next set of records by retrying the command with the returned marker
value.public Integer getMaxRecords()
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 a marker
field of the
response. You can retrieve the next set of records by retrying the command with the returned marker value.
MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned
marker value.public DescribeDataSharesForConsumerRequest withMaxRecords(Integer 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 a marker
field of the
response. You can retrieve the next set of records by retrying the command with the returned marker value.
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 a marker
field of
the response. You can retrieve the next set of records by retrying the command with the returned marker
value.public void setMarker(String 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 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.
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 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.public String getMarker()
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 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.
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.public DescribeDataSharesForConsumerRequest withMarker(String 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 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.
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 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.public String toString()
toString
in class Object
Object.toString()
public DescribeDataSharesForConsumerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()