@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRegionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRegionsResult() |
Modifier and Type | Method and Description |
---|---|
GetRegionsResult |
clone() |
boolean |
equals(Object obj) |
List<Region> |
getRegions()
An array of key-value pairs containing information about your get regions request.
|
int |
hashCode() |
void |
setRegions(Collection<Region> regions)
An array of key-value pairs containing information about your get regions request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetRegionsResult |
withRegions(Collection<Region> regions)
An array of key-value pairs containing information about your get regions request.
|
GetRegionsResult |
withRegions(Region... regions)
An array of key-value pairs containing information about your get regions request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Region> getRegions()
An array of key-value pairs containing information about your get regions request.
public void setRegions(Collection<Region> regions)
An array of key-value pairs containing information about your get regions request.
regions
- An array of key-value pairs containing information about your get regions request.public GetRegionsResult withRegions(Region... regions)
An array of key-value pairs containing information about your get regions request.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- An array of key-value pairs containing information about your get regions request.public GetRegionsResult withRegions(Collection<Region> regions)
An array of key-value pairs containing information about your get regions request.
regions
- An array of key-value pairs containing information about your get regions request.public String toString()
toString
in class Object
Object.toString()
public GetRegionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.