public class SourceRegion extends Object implements Serializable, Cloneable
Contains an AWS Region name as the result of a successful call to the DescribeSourceRegions action.
Constructor and Description |
---|
SourceRegion() |
Modifier and Type | Method and Description |
---|---|
SourceRegion |
clone() |
boolean |
equals(Object obj) |
String |
getEndpoint()
The source region endpoint.
|
String |
getRegionName()
The source region name.
|
String |
getStatus()
The status of the source region.
|
int |
hashCode() |
void |
setEndpoint(String endpoint)
The source region endpoint.
|
void |
setRegionName(String regionName)
The source region name.
|
void |
setStatus(String status)
The status of the source region.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SourceRegion |
withEndpoint(String endpoint)
The source region endpoint.
|
SourceRegion |
withRegionName(String regionName)
The source region name.
|
SourceRegion |
withStatus(String status)
The status of the source region.
|
public void setRegionName(String regionName)
The source region name.
regionName
- The source region name.public String getRegionName()
The source region name.
public SourceRegion withRegionName(String regionName)
The source region name.
regionName
- The source region name.public void setEndpoint(String endpoint)
The source region endpoint.
endpoint
- The source region endpoint.public String getEndpoint()
The source region endpoint.
public SourceRegion withEndpoint(String endpoint)
The source region endpoint.
endpoint
- The source region endpoint.public void setStatus(String status)
The status of the source region.
status
- The status of the source region.public String getStatus()
The status of the source region.
public SourceRegion withStatus(String status)
The status of the source region.
status
- The status of the source region.public String toString()
toString
in class Object
Object.toString()
public SourceRegion clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.