@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateDomainRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDomainRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomainName()
The domain name to manage (e.g.,
example.com). |
List<Tag> |
getTags()
The tag keys and optional values to add to the resource during create.
|
int |
hashCode() |
void |
setDomainName(String domainName)
The domain name to manage (e.g.,
example.com). |
void |
setTags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
String |
toString()
Returns a string representation of this object.
|
CreateDomainRequest |
withDomainName(String domainName)
The domain name to manage (e.g.,
example.com). |
CreateDomainRequest |
withTags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
CreateDomainRequest |
withTags(Tag... tags)
The tag keys and optional values to add to the resource during create.
|
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 setDomainName(String domainName)
The domain name to manage (e.g., example.com).
You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.
domainName - The domain name to manage (e.g., example.com). You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.
public String getDomainName()
The domain name to manage (e.g., example.com).
You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.
example.com). You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.
public CreateDomainRequest withDomainName(String domainName)
The domain name to manage (e.g., example.com).
You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.
domainName - The domain name to manage (e.g., example.com). You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.
public List<Tag> getTags()
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
To tag a resource after it has been created, see the tag resource operation.
public void setTags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
tags - The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
public CreateDomainRequest withTags(Tag... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
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 - The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
public CreateDomainRequest withTags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
tags - The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
public String toString()
toString in class ObjectObject.toString()public CreateDomainRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.