public class Offering extends Object implements Serializable
An offer to create a new connection for a specific price and terms.
Constructor and Description |
---|
Offering() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getOfferingId()
Example: us-west-1_EqSV5_1G
Default: None
Example: us-west-1_EqSV5_1G
Default: None
public void setOfferingId(String offeringId)
Example: us-west-1_EqSV5_1G
Default: None
offeringId
- The ID of the offering. Example: us-west-1_EqSV5_1G
Default: None
public Offering withOfferingId(String offeringId)
Example: us-west-1_EqSV5_1G
Default: None
Returns a reference to this object so that method calls can be chained together.
offeringId
- The ID of the offering. Example: us-west-1_EqSV5_1G
Default: None
public String getRegion()
Example: us-east-1
Default: None
Example: us-east-1
Default: None
public void setRegion(String region)
Example: us-east-1
Default: None
region
- The AWS region where the offering is located. Example: us-east-1
Default: None
public Offering withRegion(String region)
Example: us-east-1
Default: None
Returns a reference to this object so that method calls can be chained together.
region
- The AWS region where the offering is located. Example: us-east-1
Default: None
public String getLocation()
Example: EqSV5
Default: None
Example: EqSV5
Default: None
public void setLocation(String location)
Example: EqSV5
Default: None
location
- Where the AWS Direct Connect offering is located. Example: EqSV5
Default: None
public Offering withLocation(String location)
Example: EqSV5
Default: None
Returns a reference to this object so that method calls can be chained together.
location
- Where the AWS Direct Connect offering is located. Example: EqSV5
Default: None
public String getOfferingName()
Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
public void setOfferingName(String offeringName)
Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
offeringName
- Name of the offering. Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
public Offering withOfferingName(String offeringName)
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.
offeringName
- Name of the offering. Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
public String getDescription()
Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
public void setDescription(String description)
Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
description
- Description of the offering. Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
public Offering withDescription(String description)
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.
description
- Description of the offering. Example: "1Gbps Cross Connect in us-east-1 via Equinix"
Default: None
public String getBandwidth()
Example: 1Gbps
Default: None
Example: 1Gbps
Default: None
public void setBandwidth(String bandwidth)
Example: 1Gbps
Default: None
bandwidth
- Bandwidth of the connection. Example: 1Gbps
Default: None
public Offering withBandwidth(String bandwidth)
Example: 1Gbps
Default: None
Returns a reference to this object so that method calls can be chained together.
bandwidth
- Bandwidth of the connection. Example: 1Gbps
Default: None
public List<ConnectionCost> getConnectionCosts()
public void setConnectionCosts(Collection<ConnectionCost> connectionCosts)
connectionCosts
- A list of connection costs.public Offering withConnectionCosts(ConnectionCost... connectionCosts)
Returns a reference to this object so that method calls can be chained together.
connectionCosts
- A list of connection costs.public Offering withConnectionCosts(Collection<ConnectionCost> connectionCosts)
Returns a reference to this object so that method calls can be chained together.
connectionCosts
- A list of connection costs.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.