Class CreateInterconnectRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.directconnect.model.CreateInterconnectRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class CreateInterconnectRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Container for the parameters to the CreateInterconnect operation.

See Also:
  • Constructor Details

    • CreateInterconnectRequest

      public CreateInterconnectRequest()
  • Method Details

    • setInterconnectName

      public void setInterconnectName(String interconnectName)

      The name of the interconnect.

      Example: "1G Interconnect to AWS"

      Default: None

      Parameters:
      interconnectName - The name of the interconnect.

      Example: "1G Interconnect to AWS"

      Default: None

    • getInterconnectName

      public String getInterconnectName()

      The name of the interconnect.

      Example: "1G Interconnect to AWS"

      Default: None

      Returns:
      The name of the interconnect.

      Example: "1G Interconnect to AWS"

      Default: None

    • withInterconnectName

      public CreateInterconnectRequest withInterconnectName(String interconnectName)

      The name of the interconnect.

      Example: "1G Interconnect to AWS"

      Default: None

      Parameters:
      interconnectName - The name of the interconnect.

      Example: "1G Interconnect to AWS"

      Default: None

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setBandwidth

      public void setBandwidth(String bandwidth)

      The port bandwidth

      Example: 1Gbps

      Default: None

      Available values: 1Gbps,10Gbps

      Parameters:
      bandwidth - The port bandwidth

      Example: 1Gbps

      Default: None

      Available values: 1Gbps,10Gbps

    • getBandwidth

      public String getBandwidth()

      The port bandwidth

      Example: 1Gbps

      Default: None

      Available values: 1Gbps,10Gbps

      Returns:
      The port bandwidth

      Example: 1Gbps

      Default: None

      Available values: 1Gbps,10Gbps

    • withBandwidth

      public CreateInterconnectRequest withBandwidth(String bandwidth)

      The port bandwidth

      Example: 1Gbps

      Default: None

      Available values: 1Gbps,10Gbps

      Parameters:
      bandwidth - The port bandwidth

      Example: 1Gbps

      Default: None

      Available values: 1Gbps,10Gbps

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLocation

      public void setLocation(String location)

      Where the interconnect is located

      Example: EqSV5

      Default: None

      Parameters:
      location - Where the interconnect is located

      Example: EqSV5

      Default: None

    • getLocation

      public String getLocation()

      Where the interconnect is located

      Example: EqSV5

      Default: None

      Returns:
      Where the interconnect is located

      Example: EqSV5

      Default: None

    • withLocation

      public CreateInterconnectRequest withLocation(String location)

      Where the interconnect is located

      Example: EqSV5

      Default: None

      Parameters:
      location - Where the interconnect is located

      Example: EqSV5

      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

      public CreateInterconnectRequest 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: