@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLinkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLinkRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLinkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Bandwidth |
getBandwidth()
The upload speed and download speed in Mbps.
|
String |
getDescription()
A description of the link.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
String |
getProvider()
The provider of the link.
|
String |
getSiteId()
The ID of the site.
|
List<Tag> |
getTags()
The tags to apply to the resource during creation.
|
String |
getType()
The type of the link.
|
int |
hashCode() |
void |
setBandwidth(Bandwidth bandwidth)
The upload speed and download speed in Mbps.
|
void |
setDescription(String description)
A description of the link.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setProvider(String provider)
The provider of the link.
|
void |
setSiteId(String siteId)
The ID of the site.
|
void |
setTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
|
void |
setType(String type)
The type of the link.
|
String |
toString()
Returns a string representation of this object.
|
CreateLinkRequest |
withBandwidth(Bandwidth bandwidth)
The upload speed and download speed in Mbps.
|
CreateLinkRequest |
withDescription(String description)
A description of the link.
|
CreateLinkRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
CreateLinkRequest |
withProvider(String provider)
The provider of the link.
|
CreateLinkRequest |
withSiteId(String siteId)
The ID of the site.
|
CreateLinkRequest |
withTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
|
CreateLinkRequest |
withTags(Tag... tags)
The tags to apply to the resource during creation.
|
CreateLinkRequest |
withType(String type)
The type of the link.
|
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 CreateLinkRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDescription(String description)
A description of the link.
Constraints: Maximum length of 256 characters.
description
- A description of the link.
Constraints: Maximum length of 256 characters.
public String getDescription()
A description of the link.
Constraints: Maximum length of 256 characters.
Constraints: Maximum length of 256 characters.
public CreateLinkRequest withDescription(String description)
A description of the link.
Constraints: Maximum length of 256 characters.
description
- A description of the link.
Constraints: Maximum length of 256 characters.
public void setType(String type)
The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
type
- The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
public String getType()
The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
public CreateLinkRequest withType(String type)
The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
type
- The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
public void setBandwidth(Bandwidth bandwidth)
The upload speed and download speed in Mbps.
bandwidth
- The upload speed and download speed in Mbps.public Bandwidth getBandwidth()
The upload speed and download speed in Mbps.
public CreateLinkRequest withBandwidth(Bandwidth bandwidth)
The upload speed and download speed in Mbps.
bandwidth
- The upload speed and download speed in Mbps.public void setProvider(String provider)
The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
provider
- The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
public String getProvider()
The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
public CreateLinkRequest withProvider(String provider)
The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
provider
- The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
public void setSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.public String getSiteId()
The ID of the site.
public CreateLinkRequest withSiteId(String siteId)
The ID of the site.
siteId
- The ID 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 CreateLinkRequest 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 CreateLinkRequest 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 CreateLinkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()