JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

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 ScalingRule

    • Constructor Detail

      • ScalingRule

        public ScalingRule()
    • Method Detail

      • setName

        public void setName(String name)

        The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

        Parameters:
        name - The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
      • getName

        public String getName()

        The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

        Returns:
        The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
      • withName

        public ScalingRule withName(String name)

        The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

        Parameters:
        name - The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription(String description)

        A friendly, more verbose description of the automatic scaling rule.

        Parameters:
        description - A friendly, more verbose description of the automatic scaling rule.
      • getDescription

        public String getDescription()

        A friendly, more verbose description of the automatic scaling rule.

        Returns:
        A friendly, more verbose description of the automatic scaling rule.
      • withDescription

        public ScalingRule withDescription(String description)

        A friendly, more verbose description of the automatic scaling rule.

        Parameters:
        description - A friendly, more verbose description of the automatic scaling rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAction

        public void setAction(ScalingAction action)

        The conditions that trigger an automatic scaling activity.

        Parameters:
        action - The conditions that trigger an automatic scaling activity.
      • getAction

        public ScalingAction getAction()

        The conditions that trigger an automatic scaling activity.

        Returns:
        The conditions that trigger an automatic scaling activity.
      • withAction

        public ScalingRule withAction(ScalingAction action)

        The conditions that trigger an automatic scaling activity.

        Parameters:
        action - The conditions that trigger an automatic scaling activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTrigger

        public void setTrigger(ScalingTrigger trigger)

        The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

        Parameters:
        trigger - The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
      • getTrigger

        public ScalingTrigger getTrigger()

        The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

        Returns:
        The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
      • withTrigger

        public ScalingRule withTrigger(ScalingTrigger trigger)

        The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

        Parameters:
        trigger - The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
        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 によって変換されたページ (->オリジナル) /