@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourceSharesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetResourceSharesResult() |
Modifier and Type | Method and Description |
---|---|
GetResourceSharesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ResourceShare> |
getResourceShares()
Information about the resource shares.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setResourceShares(Collection<ResourceShare> resourceShares)
Information about the resource shares.
|
String |
toString()
Returns a string representation of this object.
|
GetResourceSharesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
GetResourceSharesResult |
withResourceShares(Collection<ResourceShare> resourceShares)
Information about the resource shares.
|
GetResourceSharesResult |
withResourceShares(ResourceShare... resourceShares)
Information about the resource shares.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceShare> getResourceShares()
Information about the resource shares.
public void setResourceShares(Collection<ResourceShare> resourceShares)
Information about the resource shares.
resourceShares
- Information about the resource shares.public GetResourceSharesResult withResourceShares(ResourceShare... resourceShares)
Information about the resource shares.
NOTE: This method appends the values to the existing list (if any). Use
setResourceShares(java.util.Collection)
or withResourceShares(java.util.Collection)
if you want
to override the existing values.
resourceShares
- Information about the resource shares.public GetResourceSharesResult withResourceShares(Collection<ResourceShare> resourceShares)
Information about the resource shares.
resourceShares
- Information about the resource shares.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public GetResourceSharesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public GetResourceSharesResult clone()