|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.Region
public class Region
Represents an Amazon EC2 region. EC2 regions are completely isolated from each other.
Constructor Summary | |
---|---|
Region()
|
Method Summary | |
---|---|
String |
getEndpoint()
Region service endpoint. |
String |
getRegionName()
Name of the region. |
void |
setEndpoint(String endpoint)
Region service endpoint. |
void |
setRegionName(String regionName)
Name of the region. |
String |
toString()
|
Region |
withEndpoint(String endpoint)
Region service endpoint. |
Region |
withRegionName(String regionName)
Name of the region. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Region()
Method Detail |
---|
public String getRegionName()
public void setRegionName(String regionName)
regionName
- Name of the region.public Region withRegionName(String regionName)
Returns a reference to this object so that method calls can be chained together.
regionName
- Name of the region.
public String getEndpoint()
public void setEndpoint(String endpoint)
endpoint
- Region service endpoint.public Region withEndpoint(String endpoint)
Returns a reference to this object so that method calls can be chained together.
endpoint
- Region service endpoint.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |