Class AddInstanceGroupsRequest

    • Constructor Detail

      • AddInstanceGroupsRequest

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

        public AddInstanceGroupsRequest​(List<InstanceGroupConfig> instanceGroups,
                                        String jobFlowId)
        Constructs a new AddInstanceGroupsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        instanceGroups - Instance Groups to add.
        jobFlowId - Job flow in which to add the instance groups.
    • Method Detail

      • getInstanceGroups

        public List<InstanceGroupConfig> getInstanceGroups()

        Instance Groups to add.

        Returns:
        Instance Groups to add.
      • setInstanceGroups

        public void setInstanceGroups​(Collection<InstanceGroupConfig> instanceGroups)

        Instance Groups to add.

        Parameters:
        instanceGroups - Instance Groups to add.
      • withInstanceGroups

        public AddInstanceGroupsRequest withInstanceGroups​(Collection<InstanceGroupConfig> instanceGroups)

        Instance Groups to add.

        Parameters:
        instanceGroups - Instance Groups to add.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setJobFlowId

        public void setJobFlowId​(String jobFlowId)

        Job flow in which to add the instance groups.

        Parameters:
        jobFlowId - Job flow in which to add the instance groups.
      • getJobFlowId

        public String getJobFlowId()

        Job flow in which to add the instance groups.

        Returns:
        Job flow in which to add the instance groups.
      • withJobFlowId

        public AddInstanceGroupsRequest withJobFlowId​(String jobFlowId)

        Job flow in which to add the instance groups.

        Parameters:
        jobFlowId - Job flow in which to add the instance groups.
        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; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object