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:
  • Constructor Details

    • AllocateConnectionOnInterconnectRequest

      public AllocateConnectionOnInterconnectRequest()
  • Method Details

    • 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

      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: