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 PutAutoScalingPolicyResult

    • Constructor Detail

      • PutAutoScalingPolicyResult

        public PutAutoScalingPolicyResult()
    • 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 PutAutoScalingPolicyResult 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 scaling policy is applied.

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

        public String getInstanceGroupId()

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

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

        public PutAutoScalingPolicyResult withInstanceGroupId(String instanceGroupId)

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

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

        public void setAutoScalingPolicy(AutoScalingPolicyDescription autoScalingPolicy)

        The automatic scaling policy definition.

        Parameters:
        autoScalingPolicy - The automatic scaling policy definition.
      • getAutoScalingPolicy

        public AutoScalingPolicyDescription getAutoScalingPolicy()

        The automatic scaling policy definition.

        Returns:
        The automatic scaling policy definition.
      • withAutoScalingPolicy

        public PutAutoScalingPolicyResult withAutoScalingPolicy(AutoScalingPolicyDescription autoScalingPolicy)

        The automatic scaling policy definition.

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

        public void setClusterArn(String clusterArn)

        The Amazon Resource Name (ARN) of the cluster.

        Parameters:
        clusterArn - The Amazon Resource Name (ARN) of the cluster.
      • getClusterArn

        public String getClusterArn()

        The Amazon Resource Name (ARN) of the cluster.

        Returns:
        The Amazon Resource Name (ARN) of the cluster.
      • withClusterArn

        public PutAutoScalingPolicyResult withClusterArn(String clusterArn)

        The Amazon Resource Name (ARN) of the cluster.

        Parameters:
        clusterArn - The Amazon Resource Name (ARN) of the cluster.
        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 によって変換されたページ (->オリジナル) /