@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeRegionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeRegionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeRegionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If not null, more results are available.
|
List<RegionDescription> |
getRegionsDescription()
List of Region information related to the directory for each replicated Region.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If not null, more results are available.
|
void |
setRegionsDescription(Collection<RegionDescription> regionsDescription)
List of Region information related to the directory for each replicated Region.
|
String |
toString()
Returns a string representation of this object.
|
DescribeRegionsResult |
withNextToken(String nextToken)
If not null, more results are available.
|
DescribeRegionsResult |
withRegionsDescription(Collection<RegionDescription> regionsDescription)
List of Region information related to the directory for each replicated Region.
|
DescribeRegionsResult |
withRegionsDescription(RegionDescription... regionsDescription)
List of Region information related to the directory for each replicated Region.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RegionDescription> getRegionsDescription()
List of Region information related to the directory for each replicated Region.
public void setRegionsDescription(Collection<RegionDescription> regionsDescription)
List of Region information related to the directory for each replicated Region.
regionsDescription
- List of Region information related to the directory for each replicated Region.public DescribeRegionsResult withRegionsDescription(RegionDescription... regionsDescription)
List of Region information related to the directory for each replicated Region.
NOTE: This method appends the values to the existing list (if any). Use
setRegionsDescription(java.util.Collection)
or withRegionsDescription(java.util.Collection)
if
you want to override the existing values.
regionsDescription
- List of Region information related to the directory for each replicated Region.public DescribeRegionsResult withRegionsDescription(Collection<RegionDescription> regionsDescription)
List of Region information related to the directory for each replicated Region.
regionsDescription
- List of Region information related to the directory for each replicated Region.public void setNextToken(String nextToken)
If not null, more results are available. Pass this value for the NextToken
parameter in a subsequent
call to DescribeRegions to retrieve the next set of items.
nextToken
- If not null, more results are available. Pass this value for the NextToken
parameter in a
subsequent call to DescribeRegions to retrieve the next set of items.public String getNextToken()
If not null, more results are available. Pass this value for the NextToken
parameter in a subsequent
call to DescribeRegions to retrieve the next set of items.
NextToken
parameter in a
subsequent call to DescribeRegions to retrieve the next set of items.public DescribeRegionsResult withNextToken(String nextToken)
If not null, more results are available. Pass this value for the NextToken
parameter in a subsequent
call to DescribeRegions to retrieve the next set of items.
nextToken
- If not null, more results are available. Pass this value for the NextToken
parameter in a
subsequent call to DescribeRegions to retrieve the next set of items.public String toString()
toString
in class Object
Object.toString()
public DescribeRegionsResult clone()