@Generated(value="software.amazon.awssdk:codegen") public final class DescribeRegionsRequest extends Ec2Request implements ToCopyableBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeRegionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allRegions()
Indicates whether to display all Regions, including Regions that are disabled for your account.
|
static DescribeRegionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
filters()
The filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<String> |
regionNames()
The names of the Regions.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeRegionsRequest.Builder> |
serializableBuilderClass() |
DescribeRegionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<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).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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> regionNames()
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean allRegions()
Indicates whether to display all Regions, including Regions that are disabled for your account.
public DescribeRegionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>toBuilder in class Ec2Requestpublic static DescribeRegionsRequest.Builder builder()
public static Class<? extends DescribeRegionsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.