@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
ClientToken is an idempotency token that ensures a call to CreateProfile completes only
once. |
String |
getName()
A name for the Profile.
|
List<Tag> |
getTags()
A list of the tag keys and values that you want to associate with the Route 53 Profile.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to CreateProfile completes only
once. |
void |
setName(String name)
A name for the Profile.
|
void |
setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the Route 53 Profile.
|
String |
toString()
Returns a string representation of this object.
|
CreateProfileRequest |
withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to CreateProfile completes only
once. |
CreateProfileRequest |
withName(String name)
A name for the Profile.
|
CreateProfileRequest |
withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the Route 53 Profile.
|
CreateProfileRequest |
withTags(Tag... tags)
A list of the tag keys and values that you want to associate with the Route 53 Profile.
|
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 setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to CreateProfile completes only
once. You choose the value to pass. For example, an issue might prevent you from getting a response from
CreateProfile. In this case, safely retry your call to CreateProfile by using the same
CreateProfile parameter value.
clientToken - ClientToken is an idempotency token that ensures a call to CreateProfile
completes only once. You choose the value to pass. For example, an issue might prevent you from getting a
response from CreateProfile. In this case, safely retry your call to
CreateProfile by using the same CreateProfile parameter value.public String getClientToken()
ClientToken is an idempotency token that ensures a call to CreateProfile completes only
once. You choose the value to pass. For example, an issue might prevent you from getting a response from
CreateProfile. In this case, safely retry your call to CreateProfile by using the same
CreateProfile parameter value.
ClientToken is an idempotency token that ensures a call to CreateProfile
completes only once. You choose the value to pass. For example, an issue might prevent you from getting a
response from CreateProfile. In this case, safely retry your call to
CreateProfile by using the same CreateProfile parameter value.public CreateProfileRequest withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to CreateProfile completes only
once. You choose the value to pass. For example, an issue might prevent you from getting a response from
CreateProfile. In this case, safely retry your call to CreateProfile by using the same
CreateProfile parameter value.
clientToken - ClientToken is an idempotency token that ensures a call to CreateProfile
completes only once. You choose the value to pass. For example, an issue might prevent you from getting a
response from CreateProfile. In this case, safely retry your call to
CreateProfile by using the same CreateProfile parameter value.public void setName(String name)
A name for the Profile.
name - A name for the Profile.public String getName()
A name for the Profile.
public CreateProfileRequest withName(String name)
A name for the Profile.
name - A name for the Profile.public List<Tag> getTags()
A list of the tag keys and values that you want to associate with the Route 53 Profile.
public void setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the Route 53 Profile.
tags - A list of the tag keys and values that you want to associate with the Route 53 Profile.public CreateProfileRequest withTags(Tag... tags)
A list of the tag keys and values that you want to associate with the Route 53 Profile.
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 associate with the Route 53 Profile.public CreateProfileRequest withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the Route 53 Profile.
tags - A list of the tag keys and values that you want to associate with the Route 53 Profile.public String toString()
toString in class ObjectObject.toString()public CreateProfileRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()