Class DeregisterScalableTargetRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.applicationautoscaling.model.DeregisterScalableTargetRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DeregisterScalableTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DeregisterScalableTargetRequest

      public DeregisterScalableTargetRequest()
  • Method Details

    • setServiceNamespace

      public void setServiceNamespace(String serviceNamespace)

      The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

      Parameters:
      serviceNamespace - The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
      See Also:
    • getServiceNamespace

      public String getServiceNamespace()

      The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

      Returns:
      The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
      See Also:
    • withServiceNamespace

      public DeregisterScalableTargetRequest withServiceNamespace(String serviceNamespace)

      The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

      Parameters:
      serviceNamespace - The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setServiceNamespace

      public void setServiceNamespace(ServiceNamespace serviceNamespace)

      The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

      Parameters:
      serviceNamespace - The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
      See Also:
    • withServiceNamespace

      public DeregisterScalableTargetRequest withServiceNamespace(ServiceNamespace serviceNamespace)

      The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

      Parameters:
      serviceNamespace - The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setResourceId

      public void setResourceId(String resourceId)

      The unique identifier string for the resource associated with the scalable target. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as service/default/sample-webapp.

      Parameters:
      resourceId - The unique identifier string for the resource associated with the scalable target. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as service/default/sample-webapp.
    • getResourceId

      public String getResourceId()

      The unique identifier string for the resource associated with the scalable target. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as service/default/sample-webapp.

      Returns:
      The unique identifier string for the resource associated with the scalable target. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as service/default/sample-webapp.
    • withResourceId

      public DeregisterScalableTargetRequest withResourceId(String resourceId)

      The unique identifier string for the resource associated with the scalable target. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as service/default/sample-webapp.

      Parameters:
      resourceId - The unique identifier string for the resource associated with the scalable target. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as service/default/sample-webapp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setScalableDimension

      public void setScalableDimension(String scalableDimension)

      The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.

      Parameters:
      scalableDimension - The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.
      See Also:
    • getScalableDimension

      public String getScalableDimension()

      The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.

      Returns:
      The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.
      See Also:
    • withScalableDimension

      public DeregisterScalableTargetRequest withScalableDimension(String scalableDimension)

      The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.

      Parameters:
      scalableDimension - The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setScalableDimension

      public void setScalableDimension(ScalableDimension scalableDimension)

      The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.

      Parameters:
      scalableDimension - The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.
      See Also:
    • withScalableDimension

      public DeregisterScalableTargetRequest withScalableDimension(ScalableDimension scalableDimension)

      The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.

      Parameters:
      scalableDimension - The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount for the desired task count of an Amazon ECS service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: