public class DescribeScalableTargetsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeScalableTargetsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeScalableTargetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
NextToken value to include in a future
DescribeScalableTargets request. |
List<ScalableTarget> |
getScalableTargets()
The list of scalable targets that matches the request parameters.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
NextToken value to include in a future
DescribeScalableTargets request. |
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
NextToken value to include in a future
DescribeScalableTargets request. |
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.
|
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 NextToken value to include in a future
DescribeScalableTargets request. When the results of a
DescribeScalableTargets request exceed
MaxResults, this value can be used to retrieve the next page
of results. This value is null when there are no more
results to return.
nextToken - The NextToken value to include in a future
DescribeScalableTargets request. When the results of
a DescribeScalableTargets request exceed
MaxResults, this value can be used to retrieve the
next page of results. This value is null when there
are no more results to return.public String getNextToken()
The NextToken value to include in a future
DescribeScalableTargets request. When the results of a
DescribeScalableTargets request exceed
MaxResults, this value can be used to retrieve the next page
of results. This value is null when there are no more
results to return.
NextToken value to include in a future
DescribeScalableTargets request. When the results of
a DescribeScalableTargets request exceed
MaxResults, this value can be used to retrieve the
next page of results. This value is null when there
are no more results to return.public DescribeScalableTargetsResult withNextToken(String nextToken)
The NextToken value to include in a future
DescribeScalableTargets request. When the results of a
DescribeScalableTargets request exceed
MaxResults, this value can be used to retrieve the next page
of results. This value is null when there are no more
results to return.
nextToken - The NextToken value to include in a future
DescribeScalableTargets request. When the results of
a DescribeScalableTargets request exceed
MaxResults, this value can be used to retrieve the
next page of results. This value is null when there
are no more results to return.public String toString()
toString in class ObjectObject.toString()public DescribeScalableTargetsResult clone()
Copyright © 2016. All rights reserved.