public class DescribeScalableTargetsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The
NextToken value to include in a future
DescribeScalableTargets request. |
private java.util.List<ScalableTarget> |
scalableTargets
The list of scalable targets that matches the request parameters.
|
Constructor and Description |
---|
DescribeScalableTargetsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeScalableTargetsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The
NextToken value to include in a future
DescribeScalableTargets request. |
java.util.List<ScalableTarget> |
getScalableTargets()
The list of scalable targets that matches the request parameters.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The
NextToken value to include in a future
DescribeScalableTargets request. |
void |
setScalableTargets(java.util.Collection<ScalableTarget> scalableTargets)
The list of scalable targets that matches the request parameters.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScalableTargetsResult |
withNextToken(java.lang.String nextToken)
The
NextToken value to include in a future
DescribeScalableTargets request. |
DescribeScalableTargetsResult |
withScalableTargets(java.util.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.
|
private java.util.List<ScalableTarget> scalableTargets
The list of scalable targets that matches the request parameters.
private java.lang.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.
public java.util.List<ScalableTarget> getScalableTargets()
The list of scalable targets that matches the request parameters.
public void setScalableTargets(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeScalableTargetsResult clone()
clone
in class java.lang.Object