@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeHomeRegionControlsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeHomeRegionControlsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeHomeRegionControlsResult |
clone() |
boolean |
equals(Object obj) |
List<HomeRegionControl> |
getHomeRegionControls()
An array that contains your
HomeRegionControl objects. |
String |
getNextToken()
If a
NextToken was returned by a previous call, more results are available. |
int |
hashCode() |
void |
setHomeRegionControls(Collection<HomeRegionControl> homeRegionControls)
An array that contains your
HomeRegionControl objects. |
void |
setNextToken(String nextToken)
If a
NextToken was returned by a previous call, more results are available. |
String |
toString()
Returns a string representation of this object.
|
DescribeHomeRegionControlsResult |
withHomeRegionControls(Collection<HomeRegionControl> homeRegionControls)
An array that contains your
HomeRegionControl objects. |
DescribeHomeRegionControlsResult |
withHomeRegionControls(HomeRegionControl... homeRegionControls)
An array that contains your
HomeRegionControl objects. |
DescribeHomeRegionControlsResult |
withNextToken(String nextToken)
If a
NextToken was returned by a previous call, more results are available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<HomeRegionControl> getHomeRegionControls()
An array that contains your HomeRegionControl
objects.
HomeRegionControl
objects.public void setHomeRegionControls(Collection<HomeRegionControl> homeRegionControls)
An array that contains your HomeRegionControl
objects.
homeRegionControls
- An array that contains your HomeRegionControl
objects.public DescribeHomeRegionControlsResult withHomeRegionControls(HomeRegionControl... homeRegionControls)
An array that contains your HomeRegionControl
objects.
NOTE: This method appends the values to the existing list (if any). Use
setHomeRegionControls(java.util.Collection)
or withHomeRegionControls(java.util.Collection)
if
you want to override the existing values.
homeRegionControls
- An array that contains your HomeRegionControl
objects.public DescribeHomeRegionControlsResult withHomeRegionControls(Collection<HomeRegionControl> homeRegionControls)
An array that contains your HomeRegionControl
objects.
homeRegionControls
- An array that contains your HomeRegionControl
objects.public void setNextToken(String nextToken)
If a NextToken
was returned by a previous call, more results are available. To retrieve the next
page of results, make the call again using the returned token in NextToken
.
nextToken
- If a NextToken
was returned by a previous call, more results are available. To retrieve the
next page of results, make the call again using the returned token in NextToken
.public String getNextToken()
If a NextToken
was returned by a previous call, more results are available. To retrieve the next
page of results, make the call again using the returned token in NextToken
.
NextToken
was returned by a previous call, more results are available. To retrieve the
next page of results, make the call again using the returned token in NextToken
.public DescribeHomeRegionControlsResult withNextToken(String nextToken)
If a NextToken
was returned by a previous call, more results are available. To retrieve the next
page of results, make the call again using the returned token in NextToken
.
nextToken
- If a NextToken
was returned by a previous call, more results are available. To retrieve the
next page of results, make the call again using the returned token in NextToken
.public String toString()
toString
in class Object
Object.toString()
public DescribeHomeRegionControlsResult clone()