@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateResourceShareResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssociateResourceShareResult() |
Modifier and Type | Method and Description |
---|---|
AssociateResourceShareResult |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
List<ResourceShareAssociation> |
getResourceShareAssociations()
Information about the associations.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Information about the associations.
|
String |
toString()
Returns a string representation of this object.
|
AssociateResourceShareResult |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
AssociateResourceShareResult |
withResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Information about the associations.
|
AssociateResourceShareResult |
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 AssociateResourceShareResult 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 AssociateResourceShareResult withResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
Information about the associations.
resourceShareAssociations
- Information about the associations.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public AssociateResourceShareResult withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String toString()
toString
in class Object
Object.toString()
public AssociateResourceShareResult clone()