com.amazonaws.services.ec2.model
Class DescribeRegionsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeRegionsRequest

public class DescribeRegionsRequest
extends AmazonWebServiceRequest

Request to describe the available Amazon EC2 regions.


Constructor Summary
DescribeRegionsRequest()
           
 
Method Summary
 List<String> getRegionNames()
          The optional list of regions to describe.
 void setRegionNames(Collection<String> regionNames)
          The optional list of regions to describe.
 String toString()
           
 DescribeRegionsRequest withRegionNames(Collection<String> regionNames)
          The optional list of regions to describe.
 DescribeRegionsRequest withRegionNames(String... regionNames)
          The optional list of regions to describe.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeRegionsRequest

public DescribeRegionsRequest()
Method Detail

getRegionNames

public List<String> getRegionNames()
The optional list of regions to describe.

Returns:
The optional list of regions to describe.

setRegionNames

public void setRegionNames(Collection<String> regionNames)
The optional list of regions to describe.

Parameters:
regionNames - The optional list of regions to describe.

withRegionNames

public DescribeRegionsRequest withRegionNames(String... regionNames)
The optional list of regions to describe.

Returns a reference to this object so that method calls can be chained together.

Parameters:
regionNames - The optional list of regions to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

withRegionNames

public DescribeRegionsRequest withRegionNames(Collection<String> regionNames)
The optional list of regions to describe.

Returns a reference to this object so that method calls can be chained together.

Parameters:
regionNames - The optional list of regions to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.