|
|||||||
| 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 | |
|---|---|
boolean |
equals(Object obj)
|
String |
getEndpoint()
Region service endpoint. |
String |
getRegionName()
Name of the region. |
int |
hashCode()
|
void |
setEndpoint(String endpoint)
Region service endpoint. |
void |
setRegionName(String regionName)
Name of the region. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Region |
withEndpoint(String endpoint)
Region service endpoint. |
Region |
withRegionName(String regionName)
Name of the region. |
| Methods inherited from class java.lang.Object |
|---|
getClass, 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 ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||