@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) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRegionNames()
Returns true if the RegionNames property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasFilters()
public 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.
You can use hasFilters()
to see if a value was sent in this field.
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 boolean hasRegionNames()
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.
You can use hasRegionNames()
to see if a value was sent in this field.
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 Ec2Request
public static DescribeRegionsRequest.Builder builder()
public static Class<? extends DescribeRegionsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.