@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeRegionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeRegionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeRegionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
The identifier of the directory.
|
String |
getNextToken()
The
DescribeRegionsResult.NextToken value from a previous call to DescribeRegions. |
String |
getRegionName()
The name of the Region.
|
int |
hashCode() |
void |
setDirectoryId(String directoryId)
The identifier of the directory.
|
void |
setNextToken(String nextToken)
The
DescribeRegionsResult.NextToken value from a previous call to DescribeRegions. |
void |
setRegionName(String regionName)
The name of the Region.
|
String |
toString()
Returns a string representation of this object.
|
DescribeRegionsRequest |
withDirectoryId(String directoryId)
The identifier of the directory.
|
DescribeRegionsRequest |
withNextToken(String nextToken)
The
DescribeRegionsResult.NextToken value from a previous call to DescribeRegions. |
DescribeRegionsRequest |
withRegionName(String regionName)
The name of the Region.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
The identifier of the directory.
directoryId
- The identifier of the directory.public String getDirectoryId()
The identifier of the directory.
public DescribeRegionsRequest withDirectoryId(String directoryId)
The identifier of the directory.
directoryId
- The identifier of the directory.public void setRegionName(String regionName)
The name of the Region. For example, us-east-1
.
regionName
- The name of the Region. For example, us-east-1
.public String getRegionName()
The name of the Region. For example, us-east-1
.
us-east-1
.public DescribeRegionsRequest withRegionName(String regionName)
The name of the Region. For example, us-east-1
.
regionName
- The name of the Region. For example, us-east-1
.public void setNextToken(String nextToken)
The DescribeRegionsResult.NextToken
value from a previous call to DescribeRegions. Pass null
if this is the first call.
nextToken
- The DescribeRegionsResult.NextToken
value from a previous call to DescribeRegions.
Pass null if this is the first call.public String getNextToken()
The DescribeRegionsResult.NextToken
value from a previous call to DescribeRegions. Pass null
if this is the first call.
DescribeRegionsResult.NextToken
value from a previous call to DescribeRegions.
Pass null if this is the first call.public DescribeRegionsRequest withNextToken(String nextToken)
The DescribeRegionsResult.NextToken
value from a previous call to DescribeRegions. Pass null
if this is the first call.
nextToken
- The DescribeRegionsResult.NextToken
value from a previous call to DescribeRegions.
Pass null if this is the first call.public String toString()
toString
in class Object
Object.toString()
public DescribeRegionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()