/* * 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.applicationautoscaling.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 DescribeScalingActivitiesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own * application or service, use custom-resource instead. *

*/ private String serviceNamespace; /** *

* The identifier of the resource associated with the scaling activity. This string consists of the resource type * and unique identifier. *

* */ private String resourceId; /** *

* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If * you specify a scalable dimension, you must also specify a resource ID. *

* */ private String scalableDimension; /** *

* The maximum number of scalable targets. This value can be between 1 and 50. The default value is 50. *

*

* If this parameter is used, the operation returns up to MaxResults results at a time, along with a * NextToken value. To get the next set of results, include the NextToken value in a * subsequent call. If this parameter is not used, the operation returns up to 50 results and a * NextToken value, if applicable. *

*/ private Integer maxResults; /** *

* The token for the next set of results. *

*/ private String nextToken; /** *

* Specifies whether to include activities that aren't scaled (not scaled activities) in the response. Not * scaled activities are activities that aren't completed or started for various reasons, such as preventing * infinite scaling loops. For help interpreting the not scaled reason details in the response, see Scaling activities for Application Auto Scaling. *

*/ private Boolean includeNotScaledActivities; /** *

* The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own * application or service, use custom-resource instead. *

* * @param serviceNamespace * The namespace of the Amazon Web Services service that provides the resource. For a resource provided by * your own application or service, use custom-resource instead. * @see ServiceNamespace */ public void setServiceNamespace(String serviceNamespace) { this.serviceNamespace = serviceNamespace; } /** *

* The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own * application or service, use custom-resource instead. *

* * @return The namespace of the Amazon Web Services service that provides the resource. For a resource provided by * your own application or service, use custom-resource instead. * @see ServiceNamespace */ public String getServiceNamespace() { return this.serviceNamespace; } /** *

* The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own * application or service, use custom-resource instead. *

* * @param serviceNamespace * The namespace of the Amazon Web Services service that provides the resource. For a resource provided by * your own application or service, use custom-resource instead. * @return Returns a reference to this object so that method calls can be chained together. * @see ServiceNamespace */ public DescribeScalingActivitiesRequest withServiceNamespace(String serviceNamespace) { setServiceNamespace(serviceNamespace); return this; } /** *

* The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own * application or service, use custom-resource instead. *

* * @param serviceNamespace * The namespace of the Amazon Web Services service that provides the resource. For a resource provided by * your own application or service, use custom-resource instead. * @see ServiceNamespace */ public void setServiceNamespace(ServiceNamespace serviceNamespace) { withServiceNamespace(serviceNamespace); } /** *

* The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own * application or service, use custom-resource instead. *

* * @param serviceNamespace * The namespace of the Amazon Web Services service that provides the resource. For a resource provided by * your own application or service, use custom-resource instead. * @return Returns a reference to this object so that method calls can be chained together. * @see ServiceNamespace */ public DescribeScalingActivitiesRequest withServiceNamespace(ServiceNamespace serviceNamespace) { this.serviceNamespace = serviceNamespace.toString(); return this; } /** *

* The identifier of the resource associated with the scaling activity. This string consists of the resource type * and unique identifier. *

* * * @param resourceId * The identifier of the resource associated with the scaling activity. This string consists of the resource * type and unique identifier.

*