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 InstanceGroupModifyConfig

    • Constructor Detail

      • InstanceGroupModifyConfig

        public InstanceGroupModifyConfig()
        Default constructor for InstanceGroupModifyConfig object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • InstanceGroupModifyConfig

        public InstanceGroupModifyConfig(String instanceGroupId,
         Integer instanceCount)
        Constructs a new InstanceGroupModifyConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        instanceGroupId - Unique ID of the instance group to modify.
        instanceCount - Target size for the instance group.
    • Method Detail

      • setInstanceGroupId

        public void setInstanceGroupId(String instanceGroupId)

        Unique ID of the instance group to modify.

        Parameters:
        instanceGroupId - Unique ID of the instance group to modify.
      • getInstanceGroupId

        public String getInstanceGroupId()

        Unique ID of the instance group to modify.

        Returns:
        Unique ID of the instance group to modify.
      • withInstanceGroupId

        public InstanceGroupModifyConfig withInstanceGroupId(String instanceGroupId)

        Unique ID of the instance group to modify.

        Parameters:
        instanceGroupId - Unique ID of the instance group to modify.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceCount

        public void setInstanceCount(Integer instanceCount)

        Target size for the instance group.

        Parameters:
        instanceCount - Target size for the instance group.
      • getInstanceCount

        public Integer getInstanceCount()

        Target size for the instance group.

        Returns:
        Target size for the instance group.
      • withInstanceCount

        public InstanceGroupModifyConfig withInstanceCount(Integer instanceCount)

        Target size for the instance group.

        Parameters:
        instanceCount - Target size for the instance group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEC2InstanceIdsToTerminate

        public List<String> getEC2InstanceIdsToTerminate()

        The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.

        Returns:
        The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
      • setEC2InstanceIdsToTerminate

        public void setEC2InstanceIdsToTerminate(Collection<String> eC2InstanceIdsToTerminate)

        The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.

        Parameters:
        eC2InstanceIdsToTerminate - The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
      • withEC2InstanceIdsToTerminate

        public InstanceGroupModifyConfig withEC2InstanceIdsToTerminate(String... eC2InstanceIdsToTerminate)

        The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.

        NOTE: This method appends the values to the existing list (if any). Use setEC2InstanceIdsToTerminate(java.util.Collection) or withEC2InstanceIdsToTerminate(java.util.Collection) if you want to override the existing values.

        Parameters:
        eC2InstanceIdsToTerminate - The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEC2InstanceIdsToTerminate

        public InstanceGroupModifyConfig withEC2InstanceIdsToTerminate(Collection<String> eC2InstanceIdsToTerminate)

        The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.

        Parameters:
        eC2InstanceIdsToTerminate - The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setShrinkPolicy

        public void setShrinkPolicy(ShrinkPolicy shrinkPolicy)

        Policy for customizing shrink operations.

        Parameters:
        shrinkPolicy - Policy for customizing shrink operations.
      • getShrinkPolicy

        public ShrinkPolicy getShrinkPolicy()

        Policy for customizing shrink operations.

        Returns:
        Policy for customizing shrink operations.
      • withShrinkPolicy

        public InstanceGroupModifyConfig withShrinkPolicy(ShrinkPolicy shrinkPolicy)

        Policy for customizing shrink operations.

        Parameters:
        shrinkPolicy - Policy for customizing shrink operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReconfigurationType

        public void setReconfigurationType(String reconfigurationType)

        Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.

        Parameters:
        reconfigurationType - Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.
        See Also:
        ReconfigurationType
      • getReconfigurationType

        public String getReconfigurationType()

        Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.

        Returns:
        Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.
        See Also:
        ReconfigurationType
      • withReconfigurationType

        public InstanceGroupModifyConfig withReconfigurationType(String reconfigurationType)

        Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.

        Parameters:
        reconfigurationType - Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReconfigurationType
      • withReconfigurationType

        public InstanceGroupModifyConfig withReconfigurationType(ReconfigurationType reconfigurationType)

        Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.

        Parameters:
        reconfigurationType - Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReconfigurationType
      • getConfigurations

        public List<Configuration> getConfigurations()

        A list of new or modified configurations to apply for an instance group.

        Returns:
        A list of new or modified configurations to apply for an instance group.
      • setConfigurations

        public void setConfigurations(Collection<Configuration> configurations)

        A list of new or modified configurations to apply for an instance group.

        Parameters:
        configurations - A list of new or modified configurations to apply for an instance group.
      • withConfigurations

        public InstanceGroupModifyConfig withConfigurations(Collection<Configuration> configurations)

        A list of new or modified configurations to apply for an instance group.

        Parameters:
        configurations - A list of new or modified configurations to apply for an instance group.
        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 によって変換されたページ (->オリジナル) /