@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 scalable targets that match 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 scalable targets that match the request parameters.
|
String |
toString()
Returns a string representation of this object.
|
DescribeScalableTargetsResult |
withNextToken(String nextToken)
The token required to get the next set of results.
|
DescribeScalableTargetsResult |
withScalableTargets(Collection<ScalableTarget> scalableTargets)
The scalable targets that match the request parameters.
|
DescribeScalableTargetsResult |
withScalableTargets(ScalableTarget... scalableTargets)
The scalable targets that match the request parameters.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ScalableTarget> getScalableTargets()
The scalable targets that match the request parameters.
public void setScalableTargets(Collection<ScalableTarget> scalableTargets)
The scalable targets that match the request parameters.
scalableTargets
- The scalable targets that match the request parameters.public DescribeScalableTargetsResult withScalableTargets(ScalableTarget... scalableTargets)
The scalable targets that match 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 scalable targets that match the request parameters.public DescribeScalableTargetsResult withScalableTargets(Collection<ScalableTarget> scalableTargets)
The scalable targets that match the request parameters.
scalableTargets
- The scalable targets that match 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()