@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRegistrationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRegistrationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRegistrationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getRegistrationType()
The type of registration form to create.
|
List<Tag> |
getTags()
An array of tags (key and value pairs) to associate with the registration.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setRegistrationType(String registrationType)
The type of registration form to create.
|
void |
setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration.
|
String |
toString()
Returns a string representation of this object.
|
CreateRegistrationRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateRegistrationRequest |
withRegistrationType(String registrationType)
The type of registration form to create.
|
CreateRegistrationRequest |
withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration.
|
CreateRegistrationRequest |
withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the registration.
|
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, withSdkRequestTimeout
public void setRegistrationType(String registrationType)
The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
registrationType
- The type of registration form to create. The list of RegistrationTypes can be found using the
DescribeRegistrationTypeDefinitions action.public String getRegistrationType()
The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
public CreateRegistrationRequest withRegistrationType(String registrationType)
The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
registrationType
- The type of registration form to create. The list of RegistrationTypes can be found using the
DescribeRegistrationTypeDefinitions action.public List<Tag> getTags()
An array of tags (key and value pairs) to associate with the registration.
public void setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration.
tags
- An array of tags (key and value pairs) to associate with the registration.public CreateRegistrationRequest withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the registration.
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
- An array of tags (key and value pairs) to associate with the registration.public CreateRegistrationRequest withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration.
tags
- An array of tags (key and value pairs) to associate with the registration.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't
specify a client token, a randomly generated token is used for the request to ensure idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
public CreateRegistrationRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't
specify a client token, a randomly generated token is used for the request to ensure idempotency.public String toString()
toString
in class Object
Object.toString()
public CreateRegistrationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()