@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourceShareAssociationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetResourceShareAssociationsResult() |
Modifier and Type | Method and Description |
---|---|
GetResourceShareAssociationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ResourceShareAssociation> |
getResourceShareAssociations()
Information about the associations.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Information about the associations.
|
String |
toString()
Returns a string representation of this object.
|
GetResourceShareAssociationsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
GetResourceShareAssociationsResult |
withResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Information about the associations.
|
GetResourceShareAssociationsResult |
withResourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
Information about the associations.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceShareAssociation> getResourceShareAssociations()
Information about the associations.
public void setResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Information about the associations.
resourceShareAssociations
- Information about the associations.public GetResourceShareAssociationsResult withResourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
Information about the associations.
NOTE: This method appends the values to the existing list (if any). Use
setResourceShareAssociations(java.util.Collection)
or
withResourceShareAssociations(java.util.Collection)
if you want to override the existing values.
resourceShareAssociations
- Information about the associations.public GetResourceShareAssociationsResult withResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Information about the associations.
resourceShareAssociations
- Information about the associations.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 GetResourceShareAssociationsResult 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 GetResourceShareAssociationsResult clone()