Class ResizeJobFlowStep.AddInstanceGroup

    • Constructor Detail

      • AddInstanceGroup

        public AddInstanceGroup()
    • Method Detail

      • withInstanceGroup

        public ResizeJobFlowStep.AddInstanceGroup withInstanceGroup​(String instanceGroup)
        Specify the role of the new instance group (core, task).
        Parameters:
        instanceGroup - New instance group's role.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • withInstanceCount

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

        public ResizeJobFlowStep.AddInstanceGroup withInstanceType​(String instanceType)
        Specify the instance type to use for this instance group.
        Parameters:
        instanceType - Instance type.
        Returns:
        A reference to this updated object so that method calls can be chained together.