public class DescribeScalingPoliciesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fleetId
Unique identifier for a fleet.
|
private java.lang.Integer |
limit
Maximum number of results to return.
|
private java.lang.String |
nextToken
Token indicating the start of the next sequential page of results.
|
private java.lang.String |
statusFilter
Game session status to filter results on.
|
NOOP
Constructor and Description |
---|
DescribeScalingPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeScalingPoliciesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFleetId()
Unique identifier for a fleet.
|
java.lang.Integer |
getLimit()
Maximum number of results to return.
|
java.lang.String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
java.lang.String |
getStatusFilter()
Game session status to filter results on.
|
int |
hashCode() |
void |
setFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
|
void |
setLimit(java.lang.Integer limit)
Maximum number of results to return.
|
void |
setNextToken(java.lang.String nextToken)
Token indicating the start of the next sequential page of results.
|
void |
setStatusFilter(ScalingStatusType statusFilter)
Game session status to filter results on.
|
void |
setStatusFilter(java.lang.String statusFilter)
Game session status to filter results on.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScalingPoliciesRequest |
withFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
|
DescribeScalingPoliciesRequest |
withLimit(java.lang.Integer limit)
Maximum number of results to return.
|
DescribeScalingPoliciesRequest |
withNextToken(java.lang.String nextToken)
Token indicating the start of the next sequential page of results.
|
DescribeScalingPoliciesRequest |
withStatusFilter(ScalingStatusType statusFilter)
Game session status to filter results on.
|
DescribeScalingPoliciesRequest |
withStatusFilter(java.lang.String statusFilter)
Game session status to filter results on.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String fleetId
Unique identifier for a fleet. Specify the fleet to retrieve scaling policies for.
private java.lang.String statusFilter
Game session status to filter results on. A scaling policy is only in force when in an Active state.
private java.lang.Integer limit
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
private java.lang.String nextToken
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
public void setFleetId(java.lang.String fleetId)
Unique identifier for a fleet. Specify the fleet to retrieve scaling policies for.
fleetId
- Unique identifier for a fleet. Specify the fleet to retrieve
scaling policies for.public java.lang.String getFleetId()
Unique identifier for a fleet. Specify the fleet to retrieve scaling policies for.
public DescribeScalingPoliciesRequest withFleetId(java.lang.String fleetId)
Unique identifier for a fleet. Specify the fleet to retrieve scaling policies for.
fleetId
- Unique identifier for a fleet. Specify the fleet to retrieve
scaling policies for.public void setStatusFilter(java.lang.String statusFilter)
Game session status to filter results on. A scaling policy is only in force when in an Active state.
statusFilter
- Game session status to filter results on. A scaling policy is only
in force when in an Active state.
ScalingStatusType
public java.lang.String getStatusFilter()
Game session status to filter results on. A scaling policy is only in force when in an Active state.
ScalingStatusType
public DescribeScalingPoliciesRequest withStatusFilter(java.lang.String statusFilter)
Game session status to filter results on. A scaling policy is only in force when in an Active state.
statusFilter
- Game session status to filter results on. A scaling policy is only
in force when in an Active state.
ScalingStatusType
public void setStatusFilter(ScalingStatusType statusFilter)
Game session status to filter results on. A scaling policy is only in force when in an Active state.
statusFilter
- Game session status to filter results on. A scaling policy is only
in force when in an Active state.
ScalingStatusType
public DescribeScalingPoliciesRequest withStatusFilter(ScalingStatusType statusFilter)
Game session status to filter results on. A scaling policy is only in force when in an Active state.
statusFilter
- Game session status to filter results on. A scaling policy is only
in force when in an Active state.
ScalingStatusType
public void setLimit(java.lang.Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit
- Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public java.lang.Integer getLimit()
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
public DescribeScalingPoliciesRequest withLimit(java.lang.Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit
- Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public void setNextToken(java.lang.String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken
- Token indicating the start of the next sequential page of results.
Use the token that is returned with a previous call to this
action. To specify the start of the result set, do not specify a
value.public java.lang.String getNextToken()
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
public DescribeScalingPoliciesRequest withNextToken(java.lang.String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken
- Token indicating the start of the next sequential page of results.
Use the token that is returned with a previous call to this
action. To specify the start of the result set, do not specify a
value.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 DescribeScalingPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()