@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociateProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociateProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
A name for the association.
|
String |
getProfileId()
ID of the Profile.
|
String |
getResourceId()
The ID of the VPC.
|
List<Tag> |
getTags()
A list of the tag keys and values that you want to identify the Profile association.
|
int |
hashCode() |
void |
setName(String name)
A name for the association.
|
void |
setProfileId(String profileId)
ID of the Profile.
|
void |
setResourceId(String resourceId)
The ID of the VPC.
|
void |
setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to identify the Profile association.
|
String |
toString()
Returns a string representation of this object.
|
AssociateProfileRequest |
withName(String name)
A name for the association.
|
AssociateProfileRequest |
withProfileId(String profileId)
ID of the Profile.
|
AssociateProfileRequest |
withResourceId(String resourceId)
The ID of the VPC.
|
AssociateProfileRequest |
withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to identify the Profile association.
|
AssociateProfileRequest |
withTags(Tag... tags)
A list of the tag keys and values that you want to identify the Profile association.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
A name for the association.
name - A name for the association.public String getName()
A name for the association.
public AssociateProfileRequest withName(String name)
A name for the association.
name - A name for the association.public void setProfileId(String profileId)
ID of the Profile.
profileId - ID of the Profile.public String getProfileId()
ID of the Profile.
public AssociateProfileRequest withProfileId(String profileId)
ID of the Profile.
profileId - ID of the Profile.public void setResourceId(String resourceId)
The ID of the VPC.
resourceId - The ID of the VPC.public String getResourceId()
The ID of the VPC.
public AssociateProfileRequest withResourceId(String resourceId)
The ID of the VPC.
resourceId - The ID of the VPC.public List<Tag> getTags()
A list of the tag keys and values that you want to identify the Profile association.
public void setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to identify the Profile association.
tags - A list of the tag keys and values that you want to identify the Profile association.public AssociateProfileRequest withTags(Tag... tags)
A list of the tag keys and values that you want to identify the Profile association.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - A list of the tag keys and values that you want to identify the Profile association.public AssociateProfileRequest withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to identify the Profile association.
tags - A list of the tag keys and values that you want to identify the Profile association.public String toString()
toString in class ObjectObject.toString()public AssociateProfileRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()