@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 endpoint for the source AWS Region endpoint.
|
String |
getRegionName()
The name of the source AWS Region.
|
String |
getStatus()
The status of the source AWS Region.
|
int |
hashCode() |
void |
setEndpoint(String endpoint)
The endpoint for the source AWS Region endpoint.
|
void |
setRegionName(String regionName)
The name of the source AWS Region.
|
void |
setStatus(String status)
The status of the source AWS Region.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SourceRegion |
withEndpoint(String endpoint)
The endpoint for the source AWS Region endpoint.
|
SourceRegion |
withRegionName(String regionName)
The name of the source AWS Region.
|
SourceRegion |
withStatus(String status)
The status of the source AWS Region.
|
public void setRegionName(String regionName)
The name of the source AWS Region.
regionName
- The name of the source AWS Region.public String getRegionName()
The name of the source AWS Region.
public SourceRegion withRegionName(String regionName)
The name of the source AWS Region.
regionName
- The name of the source AWS Region.public void setEndpoint(String endpoint)
The endpoint for the source AWS Region endpoint.
endpoint
- The endpoint for the source AWS Region endpoint.public String getEndpoint()
The endpoint for the source AWS Region endpoint.
public SourceRegion withEndpoint(String endpoint)
The endpoint for the source AWS Region endpoint.
endpoint
- The endpoint for the source AWS Region endpoint.public void setStatus(String status)
The status of the source AWS Region.
status
- The status of the source AWS Region.public String getStatus()
The status of the source AWS Region.
public SourceRegion withStatus(String status)
The status of the source AWS Region.
status
- The status of the source AWS Region.public String toString()
toString
in class Object
Object.toString()
public SourceRegion clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.