@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()
 The idempotency identifier associated with this request. 
 | 
List<ResourceShareAssociation> | 
getResourceShareAssociations()
 An array of objects that contain information about the associations. 
 | 
int | 
hashCode()  | 
void | 
setClientToken(String clientToken)
 The idempotency identifier associated with this request. 
 | 
void | 
setResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
 An array of objects that contain information about the associations. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
AssociateResourceShareResult | 
withClientToken(String clientToken)
 The idempotency identifier associated with this request. 
 | 
AssociateResourceShareResult | 
withResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
 An array of objects that contain information about the associations. 
 | 
AssociateResourceShareResult | 
withResourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
 An array of objects that contain information about the associations. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ResourceShareAssociation> getResourceShareAssociations()
An array of objects that contain information about the associations.
public void setResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
An array of objects that contain information about the associations.
resourceShareAssociations - An array of objects that contain information about the associations.public AssociateResourceShareResult withResourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
An array of objects that contain 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 - An array of objects that contain information about the associations.public AssociateResourceShareResult withResourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
An array of objects that contain information about the associations.
resourceShareAssociations - An array of objects that contain information about the associations.public void setClientToken(String clientToken)
 The idempotency identifier associated with this request. If you want to repeat the same operation in an
 idempotent manner then you must include this value in the clientToken request parameter of that
 later call. All other parameters must also have the same values that you used in the first call.
 
clientToken - The idempotency identifier associated with this request. If you want to repeat the same operation in an
        idempotent manner then you must include this value in the clientToken request parameter of
        that later call. All other parameters must also have the same values that you used in the first call.public String getClientToken()
 The idempotency identifier associated with this request. If you want to repeat the same operation in an
 idempotent manner then you must include this value in the clientToken request parameter of that
 later call. All other parameters must also have the same values that you used in the first call.
 
clientToken request parameter of
         that later call. All other parameters must also have the same values that you used in the first call.public AssociateResourceShareResult withClientToken(String clientToken)
 The idempotency identifier associated with this request. If you want to repeat the same operation in an
 idempotent manner then you must include this value in the clientToken request parameter of that
 later call. All other parameters must also have the same values that you used in the first call.
 
clientToken - The idempotency identifier associated with this request. If you want to repeat the same operation in an
        idempotent manner then you must include this value in the clientToken request parameter of
        that later call. All other parameters must also have the same values that you used in the first call.public String toString()
toString in class ObjectObject.toString()public AssociateResourceShareResult clone()