Interface InstanceGroupModifyConfig.Builder

    • Method Detail

      • instanceGroupId

        InstanceGroupModifyConfig.Builder instanceGroupId​(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.
      • instanceCount

        InstanceGroupModifyConfig.Builder instanceCount​(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.
      • ec2InstanceIdsToTerminate

        InstanceGroupModifyConfig.Builder ec2InstanceIdsToTerminate​(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.
      • ec2InstanceIdsToTerminate

        InstanceGroupModifyConfig.Builder ec2InstanceIdsToTerminate​(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.
      • shrinkPolicy

        InstanceGroupModifyConfig.Builder shrinkPolicy​(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.
      • reconfigurationType

        InstanceGroupModifyConfig.Builder reconfigurationType​(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, ReconfigurationType
      • configurations

        InstanceGroupModifyConfig.Builder configurations​(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.
      • configurations

        InstanceGroupModifyConfig.Builder configurations​(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.