@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDataSharesForConsumerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDataSharesForConsumerResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDataSharesForConsumerResult |
clone() |
boolean |
equals(Object obj) |
List<DataShare> |
getDataShares()
Shows the results of datashares available for consumers.
|
String |
getMarker()
An optional parameter that specifies the starting point to return a set of response records.
|
int |
hashCode() |
void |
setDataShares(Collection<DataShare> dataShares)
Shows the results of datashares available for consumers.
|
void |
setMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDataSharesForConsumerResult |
withDataShares(Collection<DataShare> dataShares)
Shows the results of datashares available for consumers.
|
DescribeDataSharesForConsumerResult |
withDataShares(DataShare... dataShares)
Shows the results of datashares available for consumers.
|
DescribeDataSharesForConsumerResult |
withMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataShare> getDataShares()
Shows the results of datashares available for consumers.
public void setDataShares(Collection<DataShare> dataShares)
Shows the results of datashares available for consumers.
dataShares
- Shows the results of datashares available for consumers.public DescribeDataSharesForConsumerResult withDataShares(DataShare... dataShares)
Shows the results of datashares available for consumers.
NOTE: This method appends the values to the existing list (if any). Use
setDataShares(java.util.Collection)
or withDataShares(java.util.Collection)
if you want to
override the existing values.
dataShares
- Shows the results of datashares available for consumers.public DescribeDataSharesForConsumerResult withDataShares(Collection<DataShare> dataShares)
Shows the results of datashares available for consumers.
dataShares
- Shows the results of datashares available for consumers.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 DescribeDataSharesForConsumerResult 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 DescribeDataSharesForConsumerResult clone()