|
|||||||
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
Describes a region.
Constructor Summary | |
---|---|
Region()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getEndpoint()
The region service endpoint. |
java.lang.String |
getRegionName()
The name of the region. |
int |
hashCode()
|
void |
setEndpoint(java.lang.String endpoint)
The region service endpoint. |
void |
setRegionName(java.lang.String regionName)
The name of the region. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Region |
withEndpoint(java.lang.String endpoint)
The region service endpoint. |
Region |
withRegionName(java.lang.String regionName)
The name of the region. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Region()
Method Detail |
---|
public java.lang.String getRegionName()
public void setRegionName(java.lang.String regionName)
regionName
- The name of the region.public Region withRegionName(java.lang.String regionName)
Returns a reference to this object so that method calls can be chained together.
regionName
- The name of the region.
public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String endpoint)
endpoint
- The region service endpoint.public Region withEndpoint(java.lang.String endpoint)
Returns a reference to this object so that method calls can be chained together.
endpoint
- The region service endpoint.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |