@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScalingPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
DescribeScalingPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeScalingPoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFleetId()
Unique identifier for a fleet to retrieve scaling policies for.
|
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token that indicates the start of the next sequential page of results.
|
String |
getStatusFilter()
Scaling policy status to filter results on.
|
int |
hashCode() |
void |
setFleetId(String fleetId)
Unique identifier for a fleet to retrieve scaling policies for.
|
void |
setLimit(Integer limit)
Maximum number of results to return.
|
void |
setNextToken(String nextToken)
Token that indicates the start of the next sequential page of results.
|
void |
setStatusFilter(ScalingStatusType statusFilter)
Scaling policy status to filter results on.
|
void |
setStatusFilter(String statusFilter)
Scaling policy status to filter results on.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeScalingPoliciesRequest |
withFleetId(String fleetId)
Unique identifier for a fleet to retrieve scaling policies for.
|
DescribeScalingPoliciesRequest |
withLimit(Integer limit)
Maximum number of results to return.
|
DescribeScalingPoliciesRequest |
withNextToken(String nextToken)
Token that indicates the start of the next sequential page of results.
|
DescribeScalingPoliciesRequest |
withStatusFilter(ScalingStatusType statusFilter)
Scaling policy status to filter results on.
|
DescribeScalingPoliciesRequest |
withStatusFilter(String statusFilter)
Scaling policy status to filter results on.
|
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 void setFleetId(String fleetId)
Unique identifier for a fleet to retrieve scaling policies for.
fleetId
- Unique identifier for a fleet to retrieve scaling policies for.public String getFleetId()
Unique identifier for a fleet to retrieve scaling policies for.
public DescribeScalingPoliciesRequest withFleetId(String fleetId)
Unique identifier for a fleet to retrieve scaling policies for.
fleetId
- Unique identifier for a fleet to retrieve scaling policies for.public void setStatusFilter(String statusFilter)
Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
statusFilter
- Scaling policy status to filter results on. A scaling policy is only in force when in an
ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
ScalingStatusType
public String getStatusFilter()
Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
ScalingStatusType
public DescribeScalingPoliciesRequest withStatusFilter(String statusFilter)
Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
statusFilter
- Scaling policy status to filter results on. A scaling policy is only in force when in an
ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
ScalingStatusType
public void setStatusFilter(ScalingStatusType statusFilter)
Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
statusFilter
- Scaling policy status to filter results on. A scaling policy is only in force when in an
ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
ScalingStatusType
public DescribeScalingPoliciesRequest withStatusFilter(ScalingStatusType statusFilter)
Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
statusFilter
- Scaling policy status to filter results on. A scaling policy is only in force when in an
ACTIVE
status.
ACTIVE -- The scaling policy is currently in force.
UPDATEREQUESTED -- A request to update the scaling policy has been received.
UPDATING -- A change is being made to the scaling policy.
DELETEREQUESTED -- A request to delete the scaling policy has been received.
DELETING -- The scaling policy is being deleted.
DELETED -- The scaling policy has been deleted.
ERROR -- An error occurred in creating the policy. It should be removed and recreated.
ScalingStatusType
public void setLimit(Integer limit)
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
limit
- Maximum number of results to return. Use this parameter with NextToken
to get results as a
set of sequential pages.public Integer getLimit()
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
NextToken
to get results as a
set of sequential pages.public DescribeScalingPoliciesRequest withLimit(Integer limit)
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
limit
- Maximum number of results to return. Use this parameter with NextToken
to get results as a
set of sequential pages.public void setNextToken(String nextToken)
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
nextToken
- Token that indicates the start of the next sequential page of results. Use the token that is returned with
a previous call to this action. To start at the beginning of the result set, do not specify a value.public String getNextToken()
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
public DescribeScalingPoliciesRequest withNextToken(String nextToken)
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
nextToken
- Token that indicates the start of the next sequential page of results. Use the token that is returned with
a previous call to this action. To start at the beginning of the result set, do not specify a value.public String toString()
toString
in class Object
Object.toString()
public DescribeScalingPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.