|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeRegionsRequest
public class DescribeRegionsRequest
Container for the parameters to the DescribeRegions operation
.
Describes one or more regions that are currently available to you.
For a list of the regions supported by Amazon EC2, see Regions and Endpoints .
AmazonEC2.describeRegions(DescribeRegionsRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeRegionsRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Request<DescribeRegionsRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.util.List<Filter> |
getFilters()
One or more filters. |
java.util.List<java.lang.String> |
getRegionNames()
The names of one or more regions. |
int |
hashCode()
|
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters. |
void |
setRegionNames(java.util.Collection<java.lang.String> regionNames)
The names of one or more regions. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeRegionsRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters. |
DescribeRegionsRequest |
withFilters(Filter... filters)
One or more filters. |
DescribeRegionsRequest |
withRegionNames(java.util.Collection<java.lang.String> regionNames)
The names of one or more regions. |
DescribeRegionsRequest |
withRegionNames(java.lang.String... regionNames)
The names of one or more regions. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeRegionsRequest()
Method Detail |
---|
public java.util.List<java.lang.String> getRegionNames()
public void setRegionNames(java.util.Collection<java.lang.String> regionNames)
regionNames
- The names of one or more regions.public DescribeRegionsRequest withRegionNames(java.lang.String... regionNames)
Returns a reference to this object so that method calls can be chained together.
regionNames
- The names of one or more regions.
public DescribeRegionsRequest withRegionNames(java.util.Collection<java.lang.String> regionNames)
Returns a reference to this object so that method calls can be chained together.
regionNames
- The names of one or more regions.
public java.util.List<Filter> getFilters()
endpoint
- The endpoint
of the region (for example, ec2.us-east-1.amazonaws.com
).
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
).
region-name
- The name of the region (for
example, us-east-1
).
public void setFilters(java.util.Collection<Filter> filters)
endpoint
- The endpoint
of the region (for example, ec2.us-east-1.amazonaws.com
).
region-name
- The name of the region (for
example, us-east-1
).
filters
- One or more filters. endpoint
- The endpoint
of the region (for example, ec2.us-east-1.amazonaws.com
).
region-name
- The name of the region (for
example, us-east-1
).
public DescribeRegionsRequest withFilters(Filter... filters)
endpoint
- The endpoint
of the region (for example, ec2.us-east-1.amazonaws.com
).
region-name
- The name of the region (for
example, us-east-1
).
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. endpoint
- The endpoint
of the region (for example, ec2.us-east-1.amazonaws.com
).
region-name
- The name of the region (for
example, us-east-1
).
public DescribeRegionsRequest withFilters(java.util.Collection<Filter> filters)
endpoint
- The endpoint
of the region (for example, ec2.us-east-1.amazonaws.com
).
region-name
- The name of the region (for
example, us-east-1
).
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. endpoint
- The endpoint
of the region (for example, ec2.us-east-1.amazonaws.com
).
region-name
- The name of the region (for
example, us-east-1
).
public Request<DescribeRegionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeRegionsRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |