@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeRegionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeRegionsRequest>
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) |
Boolean |
getAllRegions()
Indicates whether to display all Regions, including Regions that are disabled for your account.
|
Request<DescribeRegionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
List<String> |
getRegionNames()
The names of the Regions.
|
int |
hashCode() |
Boolean |
isAllRegions()
Indicates whether to display all Regions, including Regions that are disabled for your account.
|
void |
setAllRegions(Boolean allRegions)
Indicates whether to display all Regions, including Regions that are disabled for your account.
|
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setRegionNames(Collection<String> regionNames)
The names of the Regions.
|
String |
toString()
Returns a string representation of this object.
|
DescribeRegionsRequest |
withAllRegions(Boolean allRegions)
Indicates whether to display all Regions, including Regions that are disabled for your account.
|
DescribeRegionsRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeRegionsRequest |
withFilters(Filter... filters)
The filters.
|
DescribeRegionsRequest |
withRegionNames(Collection<String> regionNames)
The names of the Regions.
|
DescribeRegionsRequest |
withRegionNames(String... regionNames)
The names of the Regions.
|
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, withSdkRequestTimeoutpublic List<Filter> getFilters()
The filters.
endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).
opt-in-status - The opt-in status of the Region (opt-in-not-required |
opted-in | not-opted-in).
region-name - The name of the Region (for example, us-east-1).
endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com
).
opt-in-status - The opt-in status of the Region (opt-in-not-required |
opted-in | not-opted-in).
region-name - The name of the Region (for example, us-east-1).
public void setFilters(Collection<Filter> filters)
The filters.
endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).
opt-in-status - The opt-in status of the Region (opt-in-not-required |
opted-in | not-opted-in).
region-name - The name of the Region (for example, us-east-1).
filters - The filters.
endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com
).
opt-in-status - The opt-in status of the Region (opt-in-not-required |
opted-in | not-opted-in).
region-name - The name of the Region (for example, us-east-1).
public DescribeRegionsRequest withFilters(Filter... filters)
The filters.
endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).
opt-in-status - The opt-in status of the Region (opt-in-not-required |
opted-in | not-opted-in).
region-name - The name of the Region (for example, us-east-1).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
filters - The filters.
endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com
).
opt-in-status - The opt-in status of the Region (opt-in-not-required |
opted-in | not-opted-in).
region-name - The name of the Region (for example, us-east-1).
public DescribeRegionsRequest withFilters(Collection<Filter> filters)
The filters.
endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).
opt-in-status - The opt-in status of the Region (opt-in-not-required |
opted-in | not-opted-in).
region-name - The name of the Region (for example, us-east-1).
filters - The filters.
endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com
).
opt-in-status - The opt-in status of the Region (opt-in-not-required |
opted-in | not-opted-in).
region-name - The name of the Region (for example, us-east-1).
public List<String> getRegionNames()
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
public void setRegionNames(Collection<String> regionNames)
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
regionNames - The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your
account.public DescribeRegionsRequest withRegionNames(String... regionNames)
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
NOTE: This method appends the values to the existing list (if any). Use
setRegionNames(java.util.Collection) or withRegionNames(java.util.Collection) if you want to
override the existing values.
regionNames - The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your
account.public DescribeRegionsRequest withRegionNames(Collection<String> regionNames)
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
regionNames - The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your
account.public void setAllRegions(Boolean allRegions)
Indicates whether to display all Regions, including Regions that are disabled for your account.
allRegions - Indicates whether to display all Regions, including Regions that are disabled for your account.public Boolean getAllRegions()
Indicates whether to display all Regions, including Regions that are disabled for your account.
public DescribeRegionsRequest withAllRegions(Boolean allRegions)
Indicates whether to display all Regions, including Regions that are disabled for your account.
allRegions - Indicates whether to display all Regions, including Regions that are disabled for your account.public Boolean isAllRegions()
Indicates whether to display all Regions, including Regions that are disabled for your account.
public Request<DescribeRegionsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeRegionsRequest>public String toString()
toString in class ObjectObject.toString()public DescribeRegionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()