@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScalableTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeScalableTargetsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeScalableTargetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token required to get the next set of results.
|
List<ScalableTarget> |
getScalableTargets()
The list of scalable targets that matches the request parameters.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token required to get the next set of results.
|
void |
setScalableTargets(Collection<ScalableTarget> scalableTargets)
The list of scalable targets that matches the request parameters.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeScalableTargetsResult |
withNextToken(String nextToken)
The token required to get the next set of results.
|
DescribeScalableTargetsResult |
withScalableTargets(Collection<ScalableTarget> scalableTargets)
The list of scalable targets that matches the request parameters.
|
DescribeScalableTargetsResult |
withScalableTargets(ScalableTarget... scalableTargets)
The list of scalable targets that matches the request parameters.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ScalableTarget> getScalableTargets()
The list of scalable targets that matches the request parameters.
public void setScalableTargets(Collection<ScalableTarget> scalableTargets)
The list of scalable targets that matches the request parameters.
scalableTargets
- The list of scalable targets that matches the request parameters.public DescribeScalableTargetsResult withScalableTargets(ScalableTarget... scalableTargets)
The list of scalable targets that matches the request parameters.
NOTE: This method appends the values to the existing list (if any). Use
setScalableTargets(java.util.Collection)
or withScalableTargets(java.util.Collection)
if you
want to override the existing values.
scalableTargets
- The list of scalable targets that matches the request parameters.public DescribeScalableTargetsResult withScalableTargets(Collection<ScalableTarget> scalableTargets)
The list of scalable targets that matches the request parameters.
scalableTargets
- The list of scalable targets that matches the request parameters.public void setNextToken(String nextToken)
The token required to get the next set of results. This value is null
if there are no more results
to return.
nextToken
- The token required to get the next set of results. This value is null
if there are no more
results to return.public String getNextToken()
The token required to get the next set of results. This value is null
if there are no more results
to return.
null
if there are no more
results to return.public DescribeScalableTargetsResult withNextToken(String nextToken)
The token required to get the next set of results. This value is null
if there are no more results
to return.
nextToken
- The token required to get the next set of results. This value is null
if there are no more
results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeScalableTargetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.