JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class PutAutoScalingPolicyRequest

    • Constructor Detail

      • PutAutoScalingPolicyRequest

        public PutAutoScalingPolicyRequest()
    • Method Detail

      • setClusterId

        public void setClusterId(String clusterId)

        Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

        Parameters:
        clusterId - Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
      • getClusterId

        public String getClusterId()

        Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

        Returns:
        Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
      • withClusterId

        public PutAutoScalingPolicyRequest withClusterId(String clusterId)

        Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

        Parameters:
        clusterId - Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceGroupId

        public void setInstanceGroupId(String instanceGroupId)

        Specifies the ID of the instance group to which the automatic scaling policy is applied.

        Parameters:
        instanceGroupId - Specifies the ID of the instance group to which the automatic scaling policy is applied.
      • getInstanceGroupId

        public String getInstanceGroupId()

        Specifies the ID of the instance group to which the automatic scaling policy is applied.

        Returns:
        Specifies the ID of the instance group to which the automatic scaling policy is applied.
      • withInstanceGroupId

        public PutAutoScalingPolicyRequest withInstanceGroupId(String instanceGroupId)

        Specifies the ID of the instance group to which the automatic scaling policy is applied.

        Parameters:
        instanceGroupId - Specifies the ID of the instance group to which the automatic scaling policy is applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutoScalingPolicy

        public void setAutoScalingPolicy(AutoScalingPolicy autoScalingPolicy)

        Specifies the definition of the automatic scaling policy.

        Parameters:
        autoScalingPolicy - Specifies the definition of the automatic scaling policy.
      • getAutoScalingPolicy

        public AutoScalingPolicy getAutoScalingPolicy()

        Specifies the definition of the automatic scaling policy.

        Returns:
        Specifies the definition of the automatic scaling policy.
      • withAutoScalingPolicy

        public PutAutoScalingPolicyRequest withAutoScalingPolicy(AutoScalingPolicy autoScalingPolicy)

        Specifies the definition of the automatic scaling policy.

        Parameters:
        autoScalingPolicy - Specifies the definition of the automatic scaling policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /