@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScalingPlansRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeScalingPlansRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeScalingPlansRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ApplicationSource> |
getApplicationSources()
The sources for the applications (up to 10).
|
Integer |
getMaxResults()
The maximum number of scalable resources to return.
|
String |
getNextToken()
The token for the next set of results.
|
List<String> |
getScalingPlanNames()
The names of the scaling plans (up to 10).
|
Long |
getScalingPlanVersion()
The version number of the scaling plan.
|
int |
hashCode() |
void |
setApplicationSources(Collection<ApplicationSource> applicationSources)
The sources for the applications (up to 10).
|
void |
setMaxResults(Integer maxResults)
The maximum number of scalable resources to return.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setScalingPlanNames(Collection<String> scalingPlanNames)
The names of the scaling plans (up to 10).
|
void |
setScalingPlanVersion(Long scalingPlanVersion)
The version number of the scaling plan.
|
String |
toString()
Returns a string representation of this object.
|
DescribeScalingPlansRequest |
withApplicationSources(ApplicationSource... applicationSources)
The sources for the applications (up to 10).
|
DescribeScalingPlansRequest |
withApplicationSources(Collection<ApplicationSource> applicationSources)
The sources for the applications (up to 10).
|
DescribeScalingPlansRequest |
withMaxResults(Integer maxResults)
The maximum number of scalable resources to return.
|
DescribeScalingPlansRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
DescribeScalingPlansRequest |
withScalingPlanNames(Collection<String> scalingPlanNames)
The names of the scaling plans (up to 10).
|
DescribeScalingPlansRequest |
withScalingPlanNames(String... scalingPlanNames)
The names of the scaling plans (up to 10).
|
DescribeScalingPlansRequest |
withScalingPlanVersion(Long scalingPlanVersion)
The version number of the scaling plan.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getScalingPlanNames()
The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
public void setScalingPlanNames(Collection<String> scalingPlanNames)
The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
scalingPlanNames
- The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling
plan names.public DescribeScalingPlansRequest withScalingPlanNames(String... scalingPlanNames)
The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
NOTE: This method appends the values to the existing list (if any). Use
setScalingPlanNames(java.util.Collection)
or withScalingPlanNames(java.util.Collection)
if you
want to override the existing values.
scalingPlanNames
- The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling
plan names.public DescribeScalingPlansRequest withScalingPlanNames(Collection<String> scalingPlanNames)
The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
scalingPlanNames
- The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling
plan names.public void setScalingPlanVersion(Long scalingPlanVersion)
The version number of the scaling plan. Currently, the only valid value is 1
.
If you specify a scaling plan version, you must also specify a scaling plan name.
scalingPlanVersion
- The version number of the scaling plan. Currently, the only valid value is 1
. If you specify a scaling plan version, you must also specify a scaling plan name.
public Long getScalingPlanVersion()
The version number of the scaling plan. Currently, the only valid value is 1
.
If you specify a scaling plan version, you must also specify a scaling plan name.
1
. If you specify a scaling plan version, you must also specify a scaling plan name.
public DescribeScalingPlansRequest withScalingPlanVersion(Long scalingPlanVersion)
The version number of the scaling plan. Currently, the only valid value is 1
.
If you specify a scaling plan version, you must also specify a scaling plan name.
scalingPlanVersion
- The version number of the scaling plan. Currently, the only valid value is 1
. If you specify a scaling plan version, you must also specify a scaling plan name.
public List<ApplicationSource> getApplicationSources()
The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
public void setApplicationSources(Collection<ApplicationSource> applicationSources)
The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
applicationSources
- The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify
application sources.public DescribeScalingPlansRequest withApplicationSources(ApplicationSource... applicationSources)
The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
NOTE: This method appends the values to the existing list (if any). Use
setApplicationSources(java.util.Collection)
or withApplicationSources(java.util.Collection)
if
you want to override the existing values.
applicationSources
- The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify
application sources.public DescribeScalingPlansRequest withApplicationSources(Collection<ApplicationSource> applicationSources)
The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
applicationSources
- The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify
application sources.public void setMaxResults(Integer maxResults)
The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
maxResults
- The maximum number of scalable resources to return. This value can be between 1 and 50. The default value
is 50.public Integer getMaxResults()
The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
public DescribeScalingPlansRequest withMaxResults(Integer maxResults)
The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
maxResults
- The maximum number of scalable resources to return. This value can be between 1 and 50. The default value
is 50.public void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public DescribeScalingPlansRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeScalingPlansRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()