@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDataSharesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDataSharesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDataSharesResult |
clone() |
boolean |
equals(Object obj) |
List<DataShare> |
getDataShares()
The results returned from describing datashares.
|
String |
getMarker()
An optional parameter that specifies the starting point to return a set of response records.
|
int |
hashCode() |
void |
setDataShares(Collection<DataShare> dataShares)
The results returned from describing datashares.
|
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.
|
DescribeDataSharesResult |
withDataShares(Collection<DataShare> dataShares)
The results returned from describing datashares.
|
DescribeDataSharesResult |
withDataShares(DataShare... dataShares)
The results returned from describing datashares.
|
DescribeDataSharesResult |
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()
The results returned from describing datashares.
public void setDataShares(Collection<DataShare> dataShares)
The results returned from describing datashares.
dataShares
- The results returned from describing datashares.public DescribeDataSharesResult withDataShares(DataShare... dataShares)
The results returned from describing datashares.
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
- The results returned from describing datashares.public DescribeDataSharesResult withDataShares(Collection<DataShare> dataShares)
The results returned from describing datashares.
dataShares
- The results returned from describing datashares.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 DescribeDataShares 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 DescribeDataShares 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 DescribeDataShares 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 DescribeDataSharesResult withMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records. When the results of
a DescribeDataShares 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 DescribeDataShares 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 DescribeDataSharesResult clone()