@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() |
boolean |
equals(Object obj) |
String |
getFleetId()
A unique identifier for a fleet to retrieve scaling policies for.
|
Integer |
getLimit()
The 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)
A unique identifier for a fleet to retrieve scaling policies for.
|
void |
setLimit(Integer limit)
The 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.
|
DescribeScalingPoliciesRequest |
withFleetId(String fleetId)
A unique identifier for a fleet to retrieve scaling policies for.
|
DescribeScalingPoliciesRequest |
withLimit(Integer limit)
The 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, copyBaseTo, 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, withSdkRequestTimeoutpublic void setFleetId(String fleetId)
A unique identifier for a fleet to retrieve scaling policies for. You can use either the fleet ID or ARN value.
fleetId - A unique identifier for a fleet to retrieve scaling policies for. You can use either the fleet ID or ARN
value.public String getFleetId()
A unique identifier for a fleet to retrieve scaling policies for. You can use either the fleet ID or ARN value.
public DescribeScalingPoliciesRequest withFleetId(String fleetId)
A unique identifier for a fleet to retrieve scaling policies for. You can use either the fleet ID or ARN value.
fleetId - A unique identifier for a fleet to retrieve scaling policies for. You can use either the fleet ID or ARN
value.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.
ScalingStatusTypepublic 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.
ScalingStatusTypepublic 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.
ScalingStatusTypepublic 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.
ScalingStatusTypepublic 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.
ScalingStatusTypepublic void setLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken to get results as a set
of sequential pages.
limit - The maximum number of results to return. Use this parameter with NextToken to get results as
a set of sequential pages.public Integer getLimit()
The 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)
The maximum number of results to return. Use this parameter with NextToken to get results as a set
of sequential pages.
limit - The 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 ObjectObject.toString()public DescribeScalingPoliciesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.