public class Region extends Object implements Serializable
Describes a region.
Constructor and Description |
---|
Region() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getEndpoint()
The region service endpoint.
|
String |
getRegionName()
The name of the region.
|
int |
hashCode() |
void |
setEndpoint(String endpoint)
The region service endpoint.
|
void |
setRegionName(String regionName)
The name of the region.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Region |
withEndpoint(String endpoint)
The region service endpoint.
|
Region |
withRegionName(String regionName)
The name of the region.
|
public String getRegionName()
public void setRegionName(String regionName)
regionName
- The name of the region.public Region withRegionName(String regionName)
Returns a reference to this object so that method calls can be chained together.
regionName
- The name of the region.public String getEndpoint()
public void setEndpoint(String endpoint)
endpoint
- The region service endpoint.public Region withEndpoint(String endpoint)
Returns a reference to this object so that method calls can be chained together.
endpoint
- The region service endpoint.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.