Class DescribeAvailabilityZonesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeAvailabilityZonesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeAvailabilityZonesRequest>
,Serializable
,Cloneable
public class DescribeAvailabilityZonesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeAvailabilityZonesRequest>
Contains the parameters for DescribeAvailabilityZones.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeAvailabilityZonesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAvailabilityZonesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Request<DescribeAvailabilityZonesRequest>
getDryRunRequest()
This method is intended for internal use only.List<Filter>
getFilters()
One or more filters.List<String>
getZoneNames()
The names of one or more Availability Zones.int
hashCode()
void
setFilters(Collection<Filter> filters)
One or more filters.void
setZoneNames(Collection<String> zoneNames)
The names of one or more Availability Zones.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeAvailabilityZonesRequest
withFilters(Filter... filters)
One or more filters.DescribeAvailabilityZonesRequest
withFilters(Collection<Filter> filters)
One or more filters.DescribeAvailabilityZonesRequest
withZoneNames(String... zoneNames)
The names of one or more Availability Zones.DescribeAvailabilityZonesRequest
withZoneNames(Collection<String> zoneNames)
The names of one or more Availability Zones.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getZoneNames
public List<String> getZoneNames()
The names of one or more Availability Zones.
- Returns:
- The names of one or more Availability Zones.
-
setZoneNames
public void setZoneNames(Collection<String> zoneNames)
The names of one or more Availability Zones.
- Parameters:
zoneNames
- The names of one or more Availability Zones.
-
withZoneNames
public DescribeAvailabilityZonesRequest withZoneNames(String... zoneNames)
The names of one or more Availability Zones.
NOTE: This method appends the values to the existing list (if any). Use
setZoneNames(java.util.Collection)
orwithZoneNames(java.util.Collection)
if you want to override the existing values.- Parameters:
zoneNames
- The names of one or more Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withZoneNames
public DescribeAvailabilityZonesRequest withZoneNames(Collection<String> zoneNames)
The names of one or more Availability Zones.
- Parameters:
zoneNames
- The names of one or more Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFilters
public List<Filter> getFilters()
One or more filters.
-
message
- Information about the Availability Zone. -
region-name
- The name of the region for the Availability Zone (for example,us-east-1
). -
state
- The state of the Availability Zone (available
|information
|impaired
|unavailable
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
).
- Returns:
- One or more filters.
-
message
- Information about the Availability Zone. -
region-name
- The name of the region for the Availability Zone (for example,us-east-1
). -
state
- The state of the Availability Zone (available
|information
|impaired
|unavailable
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
).
-
-
-
setFilters
public void setFilters(Collection<Filter> filters)
One or more filters.
-
message
- Information about the Availability Zone. -
region-name
- The name of the region for the Availability Zone (for example,us-east-1
). -
state
- The state of the Availability Zone (available
|information
|impaired
|unavailable
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
).
- Parameters:
filters
- One or more filters.-
message
- Information about the Availability Zone. -
region-name
- The name of the region for the Availability Zone (for example,us-east-1
). -
state
- The state of the Availability Zone (available
|information
|impaired
|unavailable
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
).
-
-
-
withFilters
public DescribeAvailabilityZonesRequest withFilters(Filter... filters)
One or more filters.
-
message
- Information about the Availability Zone. -
region-name
- The name of the region for the Availability Zone (for example,us-east-1
). -
state
- The state of the Availability Zone (available
|information
|impaired
|unavailable
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
orwithFilters(java.util.Collection)
if you want to override the existing values.- Parameters:
filters
- One or more filters.-
message
- Information about the Availability Zone. -
region-name
- The name of the region for the Availability Zone (for example,us-east-1
). -
state
- The state of the Availability Zone (available
|information
|impaired
|unavailable
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
public DescribeAvailabilityZonesRequest withFilters(Collection<Filter> filters)
One or more filters.
-
message
- Information about the Availability Zone. -
region-name
- The name of the region for the Availability Zone (for example,us-east-1
). -
state
- The state of the Availability Zone (available
|information
|impaired
|unavailable
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
).
- Parameters:
filters
- One or more filters.-
message
- Information about the Availability Zone. -
region-name
- The name of the region for the Availability Zone (for example,us-east-1
). -
state
- The state of the Availability Zone (available
|information
|impaired
|unavailable
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
getDryRunRequest
public Request<DescribeAvailabilityZonesRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeAvailabilityZonesRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAvailabilityZonesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-