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:
Serializable

public class Offering
extends Object
implements 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(Object obj)
           
 String getBandwidth()
          Bandwidth of the connection.
 List<ConnectionCost> getConnectionCosts()
          A list of connection costs.
 String getDescription()
          Description of the offering.
 String getLocation()
          Where the AWS Direct Connect offering is located.
 String getOfferingId()
          The ID of the offering.
 String getOfferingName()
          Name of the offering.
 String getRegion()
          The AWS region where the offering is located.
 int hashCode()
           
 void setBandwidth(String bandwidth)
          Bandwidth of the connection.
 void setConnectionCosts(Collection<ConnectionCost> connectionCosts)
          A list of connection costs.
 void setDescription(String description)
          Description of the offering.
 void setLocation(String location)
          Where the AWS Direct Connect offering is located.
 void setOfferingId(String offeringId)
          The ID of the offering.
 void setOfferingName(String offeringName)
          Name of the offering.
 void setRegion(String region)
          The AWS region where the offering is located.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Offering withBandwidth(String bandwidth)
          Bandwidth of the connection.
 Offering withConnectionCosts(Collection<ConnectionCost> connectionCosts)
          A list of connection costs.
 Offering withConnectionCosts(ConnectionCost... connectionCosts)
          A list of connection costs.
 Offering withDescription(String description)
          Description of the offering.
 Offering withLocation(String location)
          Where the AWS Direct Connect offering is located.
 Offering withOfferingId(String offeringId)
          The ID of the offering.
 Offering withOfferingName(String offeringName)
          Name of the offering.
 Offering withRegion(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 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(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(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


getRegion

public 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(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(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


getLocation

public 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(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(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


getOfferingName

public 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(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(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


getDescription

public 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(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(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


getBandwidth

public String getBandwidth()
Bandwidth of the connection.

Example: 1Gbps

Default: None

Returns:
Bandwidth of the connection.

Example: 1Gbps

Default: None


setBandwidth

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

Example: 1Gbps

Default: None

Parameters:
bandwidth - Bandwidth of the connection.

Example: 1Gbps

Default: None


withBandwidth

public Offering withBandwidth(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


getConnectionCosts

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

Returns:
A list of connection costs.

setConnectionCosts

public void setConnectionCosts(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.

withConnectionCosts

public Offering withConnectionCosts(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.

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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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