public class Region
extends java.lang.Object
implements java.io.Serializable
Describes a region.
| Constructor and Description |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.