@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Region extends Object implements Serializable, Cloneable
Describes a region.
Constructor and Description |
---|
Region() |
Modifier and Type | Method and Description |
---|---|
Region |
clone() |
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 void setEndpoint(String endpoint)
The region service endpoint.
endpoint
- The region service endpoint.public String getEndpoint()
The region service endpoint.
public Region withEndpoint(String endpoint)
The region service endpoint.
endpoint
- The region service endpoint.public void setRegionName(String regionName)
The name of the region.
regionName
- The name of the region.public String getRegionName()
The name of the region.
public Region withRegionName(String regionName)
The name of the region.
regionName
- The name of the region.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.