@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()
If present, this value indicates that more output is available than is included in the current response.
|
List<ResourceShare> |
getResourceShares()
An array of objects that contain the information about the resource shares.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
void |
setResourceShares(Collection<ResourceShare> resourceShares)
An array of objects that contain the information about the resource shares.
|
String |
toString()
Returns a string representation of this object.
|
GetResourceSharesResult |
withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
GetResourceSharesResult |
withResourceShares(Collection<ResourceShare> resourceShares)
An array of objects that contain the information about the resource shares.
|
GetResourceSharesResult |
withResourceShares(ResourceShare... resourceShares)
An array of objects that contain the information about the resource shares.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceShare> getResourceShares()
An array of objects that contain the information about the resource shares.
public void setResourceShares(Collection<ResourceShare> resourceShares)
An array of objects that contain the information about the resource shares.
resourceShares
- An array of objects that contain the information about the resource shares.public GetResourceSharesResult withResourceShares(ResourceShare... resourceShares)
An array of objects that contain the 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
- An array of objects that contain the information about the resource shares.public GetResourceSharesResult withResourceShares(Collection<ResourceShare> resourceShares)
An array of objects that contain the information about the resource shares.
resourceShares
- An array of objects that contain the information about the resource shares.public void setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
nextToken
- If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public String getNextToken()
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public GetResourceSharesResult withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
nextToken
- If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public String toString()
toString
in class Object
Object.toString()
public GetResourceSharesResult clone()