Class AllocateConnectionOnInterconnectRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directconnect.model.AllocateConnectionOnInterconnectRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AllocateConnectionOnInterconnectRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the AllocateConnectionOnInterconnect operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AllocateConnectionOnInterconnectRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocateConnectionOnInterconnectRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getBandwidth()
Bandwidth of the connection.String
getConnectionName()
Name of the provisioned connection.String
getInterconnectId()
ID of the interconnect on which the connection will be provisioned.String
getOwnerAccount()
Numeric account Id of the customer for whom the connection will be provisioned.Integer
getVlan()
The dedicated VLAN provisioned to the connection.int
hashCode()
void
setBandwidth(String bandwidth)
Bandwidth of the connection.void
setConnectionName(String connectionName)
Name of the provisioned connection.void
setInterconnectId(String interconnectId)
ID of the interconnect on which the connection will be provisioned.void
setOwnerAccount(String ownerAccount)
Numeric account Id of the customer for whom the connection will be provisioned.void
setVlan(Integer vlan)
The dedicated VLAN provisioned to the connection.String
toString()
Returns a string representation of this object; useful for testing and debugging.AllocateConnectionOnInterconnectRequest
withBandwidth(String bandwidth)
Bandwidth of the connection.AllocateConnectionOnInterconnectRequest
withConnectionName(String connectionName)
Name of the provisioned connection.AllocateConnectionOnInterconnectRequest
withInterconnectId(String interconnectId)
ID of the interconnect on which the connection will be provisioned.AllocateConnectionOnInterconnectRequest
withOwnerAccount(String ownerAccount)
Numeric account Id of the customer for whom the connection will be provisioned.AllocateConnectionOnInterconnectRequest
withVlan(Integer vlan)
The dedicated VLAN provisioned to the connection.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setBandwidth
public void setBandwidth(String bandwidth)
Bandwidth of the connection.
Example: "500Mbps"
Default: None
Values: 50M, 100M, 200M, 300M, 400M, or 500M
- Parameters:
bandwidth
- Bandwidth of the connection.Example: "500Mbps"
Default: None
Values: 50M, 100M, 200M, 300M, 400M, or 500M
-
getBandwidth
public String getBandwidth()
Bandwidth of the connection.
Example: "500Mbps"
Default: None
Values: 50M, 100M, 200M, 300M, 400M, or 500M
- Returns:
- Bandwidth of the connection.
Example: "500Mbps"
Default: None
Values: 50M, 100M, 200M, 300M, 400M, or 500M
-
withBandwidth
public AllocateConnectionOnInterconnectRequest withBandwidth(String bandwidth)
Bandwidth of the connection.
Example: "500Mbps"
Default: None
Values: 50M, 100M, 200M, 300M, 400M, or 500M
- Parameters:
bandwidth
- Bandwidth of the connection.Example: "500Mbps"
Default: None
Values: 50M, 100M, 200M, 300M, 400M, or 500M
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionName
public void setConnectionName(String connectionName)
Name of the provisioned connection.
Example: "500M Connection to AWS"
Default: None
- Parameters:
connectionName
- Name of the provisioned connection.Example: "500M Connection to AWS"
Default: None
-
getConnectionName
public String getConnectionName()
Name of the provisioned connection.
Example: "500M Connection to AWS"
Default: None
- Returns:
- Name of the provisioned connection.
Example: "500M Connection to AWS"
Default: None
-
withConnectionName
public AllocateConnectionOnInterconnectRequest withConnectionName(String connectionName)
Name of the provisioned connection.
Example: "500M Connection to AWS"
Default: None
- Parameters:
connectionName
- Name of the provisioned connection.Example: "500M Connection to AWS"
Default: None
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOwnerAccount
public void setOwnerAccount(String ownerAccount)
Numeric account Id of the customer for whom the connection will be provisioned.
Example: 123443215678
Default: None
- Parameters:
ownerAccount
- Numeric account Id of the customer for whom the connection will be provisioned.Example: 123443215678
Default: None
-
getOwnerAccount
public String getOwnerAccount()
Numeric account Id of the customer for whom the connection will be provisioned.
Example: 123443215678
Default: None
- Returns:
- Numeric account Id of the customer for whom the connection will
be provisioned.
Example: 123443215678
Default: None
-
withOwnerAccount
public AllocateConnectionOnInterconnectRequest withOwnerAccount(String ownerAccount)
Numeric account Id of the customer for whom the connection will be provisioned.
Example: 123443215678
Default: None
- Parameters:
ownerAccount
- Numeric account Id of the customer for whom the connection will be provisioned.Example: 123443215678
Default: None
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInterconnectId
public void setInterconnectId(String interconnectId)
ID of the interconnect on which the connection will be provisioned.
Example: dxcon-456abc78
Default: None
- Parameters:
interconnectId
- ID of the interconnect on which the connection will be provisioned.Example: dxcon-456abc78
Default: None
-
getInterconnectId
public String getInterconnectId()
ID of the interconnect on which the connection will be provisioned.
Example: dxcon-456abc78
Default: None
- Returns:
- ID of the interconnect on which the connection will be
provisioned.
Example: dxcon-456abc78
Default: None
-
withInterconnectId
public AllocateConnectionOnInterconnectRequest withInterconnectId(String interconnectId)
ID of the interconnect on which the connection will be provisioned.
Example: dxcon-456abc78
Default: None
- Parameters:
interconnectId
- ID of the interconnect on which the connection will be provisioned.Example: dxcon-456abc78
Default: None
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVlan
public void setVlan(Integer vlan)
The dedicated VLAN provisioned to the connection.
Example: 101
Default: None
- Parameters:
vlan
- The dedicated VLAN provisioned to the connection.Example: 101
Default: None
-
getVlan
public Integer getVlan()
The dedicated VLAN provisioned to the connection.
Example: 101
Default: None
- Returns:
- The dedicated VLAN provisioned to the connection.
Example: 101
Default: None
-
withVlan
public AllocateConnectionOnInterconnectRequest withVlan(Integer vlan)
The dedicated VLAN provisioned to the connection.
Example: 101
Default: None
- Parameters:
vlan
- The dedicated VLAN provisioned to the connection.Example: 101
Default: None
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AllocateConnectionOnInterconnectRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-