@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 |
getOptInStatus()
The Region opt-in status.
|
String |
getRegionName()
The name of the Region.
|
int |
hashCode() |
void |
setEndpoint(String endpoint)
The Region service endpoint.
|
void |
setOptInStatus(String optInStatus)
The Region opt-in status.
|
void |
setRegionName(String regionName)
The name of the Region.
|
String |
toString()
Returns a string representation of this object.
|
Region |
withEndpoint(String endpoint)
The Region service endpoint.
|
Region |
withOptInStatus(String optInStatus)
The Region opt-in status.
|
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 void setOptInStatus(String optInStatus)
The Region opt-in status. The possible values are opt-in-not-required
, opted-in
, and
not-opted-in
.
optInStatus
- The Region opt-in status. The possible values are opt-in-not-required
, opted-in
,
and not-opted-in
.public String getOptInStatus()
The Region opt-in status. The possible values are opt-in-not-required
, opted-in
, and
not-opted-in
.
opt-in-not-required
, opted-in
, and not-opted-in
.public Region withOptInStatus(String optInStatus)
The Region opt-in status. The possible values are opt-in-not-required
, opted-in
, and
not-opted-in
.
optInStatus
- The Region opt-in status. The possible values are opt-in-not-required
, opted-in
,
and not-opted-in
.public String toString()
toString
in class Object
Object.toString()