Class ResizeJobFlowStep.ModifyInstanceGroup

    • Constructor Detail

      • ModifyInstanceGroup

        public ModifyInstanceGroup()
    • Method Detail

      • withInstanceGroup

        public ResizeJobFlowStep.ModifyInstanceGroup withInstanceGroup​(String instanceGroup)
        Set the identification for the instance group to modify. You can specify either core or task if there is only one instance group of that role. Otherwise you can specify the instance group ID (such as ig-ABABABABABAB).
        Parameters:
        instanceGroup - Identifier for the instance group.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • withInstanceCount

        public ResizeJobFlowStep.ModifyInstanceGroup withInstanceCount​(Integer instanceCount)
        Specify the new size of the instance group.
        Parameters:
        instanceCount - Target size of the instance group.
        Returns:
        A reference to this updated object so that method calls can be chained together.