@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSiteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSiteRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSiteRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of your site.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
Location |
getLocation()
The site location.
|
List<Tag> |
getTags()
The tags to apply to the resource during creation.
|
int |
hashCode() |
void |
setDescription(String description)
A description of your site.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLocation(Location location)
The site location.
|
void |
setTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
|
String |
toString()
Returns a string representation of this object.
|
CreateSiteRequest |
withDescription(String description)
A description of your site.
|
CreateSiteRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
CreateSiteRequest |
withLocation(Location location)
The site location.
|
CreateSiteRequest |
withTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
|
CreateSiteRequest |
withTags(Tag... tags)
The tags to apply to the resource during creation.
|
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 setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public CreateSiteRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDescription(String description)
A description of your site.
Constraints: Maximum length of 256 characters.
description
- A description of your site.
Constraints: Maximum length of 256 characters.
public String getDescription()
A description of your site.
Constraints: Maximum length of 256 characters.
Constraints: Maximum length of 256 characters.
public CreateSiteRequest withDescription(String description)
A description of your site.
Constraints: Maximum length of 256 characters.
description
- A description of your site.
Constraints: Maximum length of 256 characters.
public void setLocation(Location location)
The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.
Address
: The physical address of the site.
Latitude
: The latitude of the site.
Longitude
: The longitude of the site.
location
- The site location. This information is used for visualization in the Network Manager console. If you
specify the address, the latitude and longitude are automatically calculated.
Address
: The physical address of the site.
Latitude
: The latitude of the site.
Longitude
: The longitude of the site.
public Location getLocation()
The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.
Address
: The physical address of the site.
Latitude
: The latitude of the site.
Longitude
: The longitude of the site.
Address
: The physical address of the site.
Latitude
: The latitude of the site.
Longitude
: The longitude of the site.
public CreateSiteRequest withLocation(Location location)
The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.
Address
: The physical address of the site.
Latitude
: The latitude of the site.
Longitude
: The longitude of the site.
location
- The site location. This information is used for visualization in the Network Manager console. If you
specify the address, the latitude and longitude are automatically calculated.
Address
: The physical address of the site.
Latitude
: The latitude of the site.
Longitude
: The longitude of the site.
public List<Tag> getTags()
The tags to apply to the resource during creation.
public void setTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
tags
- The tags to apply to the resource during creation.public CreateSiteRequest withTags(Tag... tags)
The tags to apply to the resource during creation.
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 tags to apply to the resource during creation.public CreateSiteRequest withTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
tags
- The tags to apply to the resource during creation.public String toString()
toString
in class Object
Object.toString()
public CreateSiteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()