@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllocateHostedConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AllocateHostedConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
AllocateHostedConnectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBandwidth()
The bandwidth of the connection.
|
String |
getConnectionId()
The ID of the interconnect or LAG.
|
String |
getConnectionName()
The name of the hosted connection.
|
String |
getOwnerAccount()
The ID of the Amazon Web Services account ID of the customer for the connection.
|
List<Tag> |
getTags()
The tags associated with the connection.
|
Integer |
getVlan()
The dedicated VLAN provisioned to the hosted connection.
|
int |
hashCode() |
void |
setBandwidth(String bandwidth)
The bandwidth of the connection.
|
void |
setConnectionId(String connectionId)
The ID of the interconnect or LAG.
|
void |
setConnectionName(String connectionName)
The name of the hosted connection.
|
void |
setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account ID of the customer for the connection.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the connection.
|
void |
setVlan(Integer vlan)
The dedicated VLAN provisioned to the hosted connection.
|
String |
toString()
Returns a string representation of this object.
|
AllocateHostedConnectionRequest |
withBandwidth(String bandwidth)
The bandwidth of the connection.
|
AllocateHostedConnectionRequest |
withConnectionId(String connectionId)
The ID of the interconnect or LAG.
|
AllocateHostedConnectionRequest |
withConnectionName(String connectionName)
The name of the hosted connection.
|
AllocateHostedConnectionRequest |
withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account ID of the customer for the connection.
|
AllocateHostedConnectionRequest |
withTags(Collection<Tag> tags)
The tags associated with the connection.
|
AllocateHostedConnectionRequest |
withTags(Tag... tags)
The tags associated with the connection.
|
AllocateHostedConnectionRequest |
withVlan(Integer vlan)
The dedicated VLAN provisioned to the hosted connection.
|
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 setConnectionId(String connectionId)
The ID of the interconnect or LAG.
connectionId
- The ID of the interconnect or LAG.public String getConnectionId()
The ID of the interconnect or LAG.
public AllocateHostedConnectionRequest withConnectionId(String connectionId)
The ID of the interconnect or LAG.
connectionId
- The ID of the interconnect or LAG.public void setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account ID of the customer for the connection.
ownerAccount
- The ID of the Amazon Web Services account ID of the customer for the connection.public String getOwnerAccount()
The ID of the Amazon Web Services account ID of the customer for the connection.
public AllocateHostedConnectionRequest withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account ID of the customer for the connection.
ownerAccount
- The ID of the Amazon Web Services account ID of the customer for the connection.public void setBandwidth(String bandwidth)
The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps, 10Gbps, or 25Gbps hosted connection.
bandwidth
- The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps,
500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Note that only those Direct Connect Partners who have
met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps, 10Gbps, or 25Gbps hosted
connection.public String getBandwidth()
The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps, 10Gbps, or 25Gbps hosted connection.
public AllocateHostedConnectionRequest withBandwidth(String bandwidth)
The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps, 10Gbps, or 25Gbps hosted connection.
bandwidth
- The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps,
500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Note that only those Direct Connect Partners who have
met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps, 10Gbps, or 25Gbps hosted
connection.public void setConnectionName(String connectionName)
The name of the hosted connection.
connectionName
- The name of the hosted connection.public String getConnectionName()
The name of the hosted connection.
public AllocateHostedConnectionRequest withConnectionName(String connectionName)
The name of the hosted connection.
connectionName
- The name of the hosted connection.public void setVlan(Integer vlan)
The dedicated VLAN provisioned to the hosted connection.
vlan
- The dedicated VLAN provisioned to the hosted connection.public Integer getVlan()
The dedicated VLAN provisioned to the hosted connection.
public AllocateHostedConnectionRequest withVlan(Integer vlan)
The dedicated VLAN provisioned to the hosted connection.
vlan
- The dedicated VLAN provisioned to the hosted connection.public List<Tag> getTags()
The tags associated with the connection.
public void setTags(Collection<Tag> tags)
The tags associated with the connection.
tags
- The tags associated with the connection.public AllocateHostedConnectionRequest withTags(Tag... tags)
The tags associated with the connection.
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 associated with the connection.public AllocateHostedConnectionRequest withTags(Collection<Tag> tags)
The tags associated with the connection.
tags
- The tags associated with the connection.public String toString()
toString
in class Object
Object.toString()
public AllocateHostedConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()