Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class Offering

java.lang.Object
  extended by com.amazonaws.services.directconnect.model.Offering
All Implemented Interfaces:
java.io.Serializable

public class Offering
extends java.lang.Object
implements java.io.Serializable

An offer to create a new connection for a specific price and terms.

See Also:
Serialized Form

Constructor Summary
Offering()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getBandwidth()
          Bandwidth of the connection.
 java.util.List<ConnectionCost> getConnectionCosts()
          A list of connection costs.
 java.lang.String getDescription()
          Description of the offering.
 java.lang.String getLocation()
          Where the AWS Direct Connect offering is located.
 java.lang.String getOfferingId()
          The ID of the offering.
 java.lang.String getOfferingName()
          Name of the offering.
 java.lang.String getRegion()
          The AWS region where the offering is located.
 int hashCode()
           
 void setBandwidth(java.lang.String bandwidth)
          Bandwidth of the connection.
 void setConnectionCosts(java.util.Collection<ConnectionCost> connectionCosts)
          A list of connection costs.
 void setDescription(java.lang.String description)
          Description of the offering.
 void setLocation(java.lang.String location)
          Where the AWS Direct Connect offering is located.
 void setOfferingId(java.lang.String offeringId)
          The ID of the offering.
 void setOfferingName(java.lang.String offeringName)
          Name of the offering.
 void setRegion(java.lang.String region)
          The AWS region where the offering is located.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Offering withBandwidth(java.lang.String bandwidth)
          Bandwidth of the connection.
 Offering withConnectionCosts(java.util.Collection<ConnectionCost> connectionCosts)
          A list of connection costs.
 Offering withConnectionCosts(ConnectionCost... connectionCosts)
          A list of connection costs.
 Offering withDescription(java.lang.String description)
          Description of the offering.
 Offering withLocation(java.lang.String location)
          Where the AWS Direct Connect offering is located.
 Offering withOfferingId(java.lang.String offeringId)
          The ID of the offering.
 Offering withOfferingName(java.lang.String offeringName)
          Name of the offering.
 Offering withRegion(java.lang.String region)
          The AWS region where the offering is located.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Offering

public Offering()
Method Detail

getOfferingId

public java.lang.String getOfferingId()
The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None

Returns:
The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None


setOfferingId

public void setOfferingId(java.lang.String offeringId)
The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None

Parameters:
offeringId - The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None


withOfferingId

public Offering withOfferingId(java.lang.String offeringId)
The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None

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

Parameters:
offeringId - The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getRegion

public java.lang.String getRegion()
The AWS region where the offering is located.

Example: us-east-1

Default: None

Returns:
The AWS region where the offering is located.

Example: us-east-1

Default: None


setRegion

public void setRegion(java.lang.String region)
The AWS region where the offering is located.

Example: us-east-1

Default: None

Parameters:
region - The AWS region where the offering is located.

Example: us-east-1

Default: None


withRegion

public Offering withRegion(java.lang.String region)
The AWS region where the offering is located.

Example: us-east-1

Default: None

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

Parameters:
region - The AWS region where the offering is located.

Example: us-east-1

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getLocation

public java.lang.String getLocation()
Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None

Returns:
Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None


setLocation

public void setLocation(java.lang.String location)
Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None

Parameters:
location - Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None


withLocation

public Offering withLocation(java.lang.String location)
Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None

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

Parameters:
location - Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getOfferingName

public java.lang.String getOfferingName()
Name of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None

Returns:
Name of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None


setOfferingName

public void setOfferingName(java.lang.String offeringName)
Name of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None

Parameters:
offeringName - Name of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None


withOfferingName

public Offering withOfferingName(java.lang.String offeringName)
Name of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None

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

Parameters:
offeringName - Name of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
Description of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None

Returns:
Description of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None


setDescription

public void setDescription(java.lang.String description)
Description of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None

Parameters:
description - Description of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None


withDescription

public Offering withDescription(java.lang.String description)
Description of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None

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

Parameters:
description - Description of the offering.

Example: "1Gbps Cross Connect in us-east-1 via Equinix"

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getBandwidth

public java.lang.String getBandwidth()
Bandwidth of the connection.

Example: 1Gbps

Default: None

Returns:
Bandwidth of the connection.

Example: 1Gbps

Default: None


setBandwidth

public void setBandwidth(java.lang.String bandwidth)
Bandwidth of the connection.

Example: 1Gbps

Default: None

Parameters:
bandwidth - Bandwidth of the connection.

Example: 1Gbps

Default: None


withBandwidth

public Offering withBandwidth(java.lang.String bandwidth)
Bandwidth of the connection.

Example: 1Gbps

Default: None

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

Parameters:
bandwidth - Bandwidth of the connection.

Example: 1Gbps

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getConnectionCosts

public java.util.List<ConnectionCost> getConnectionCosts()
A list of connection costs.

Returns:
A list of connection costs.

setConnectionCosts

public void setConnectionCosts(java.util.Collection<ConnectionCost> connectionCosts)
A list of connection costs.

Parameters:
connectionCosts - A list of connection costs.

withConnectionCosts

public Offering withConnectionCosts(ConnectionCost... connectionCosts)
A list of connection costs.

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

Parameters:
connectionCosts - A list of connection costs.
Returns:
A reference to this updated object so that method calls can be chained together.

withConnectionCosts

public Offering withConnectionCosts(java.util.Collection<ConnectionCost> connectionCosts)
A list of connection costs.

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

Parameters:
connectionCosts - A list of connection costs.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.