/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.gamelift.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeScalingPoliciesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID or ARN * value. *

*/ private String fleetId; /** *

* Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE * status. *

* */ private String statusFilter; /** *

* The maximum number of results to return. Use this parameter with NextToken to get results as a set * of sequential pages. *

*/ private Integer limit; /** *

* A token that indicates the start of the next sequential page of results. Use the token that is returned with a * previous call to this operation. To start at the beginning of the result set, do not specify a value. *

*/ private String nextToken; /** *

* The fleet location. If you don't specify this value, the response contains the scaling policies of every location * in the fleet. *

*/ private String location; /** *

* A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID or ARN * value. *

* * @param fleetId * A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID * or ARN value. */ public void setFleetId(String fleetId) { this.fleetId = fleetId; } /** *

* A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID or ARN * value. *

* * @return A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID * or ARN value. */ public String getFleetId() { return this.fleetId; } /** *

* A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID or ARN * value. *

* * @param fleetId * A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID * or ARN value. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeScalingPoliciesRequest withFleetId(String fleetId) { setFleetId(fleetId); return this; } /** *

* Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE * status. *

* * * @param statusFilter * Scaling policy status to filter results on. A scaling policy is only in force when in an * ACTIVE status.

*