Class AddInstanceGroupsResult

java.lang.Object
com.amazonaws.services.elasticmapreduce.model.AddInstanceGroupsResult
All Implemented Interfaces:
Serializable, Cloneable

public class AddInstanceGroupsResult extends Object implements Serializable, Cloneable

Output from an AddInstanceGroups call.

See Also:
  • Constructor Details

    • AddInstanceGroupsResult

      public AddInstanceGroupsResult()
  • Method Details

    • setJobFlowId

      public void setJobFlowId(String jobFlowId)

      The job flow ID in which the instance groups are added.

      Parameters:
      jobFlowId - The job flow ID in which the instance groups are added.
    • getJobFlowId

      public String getJobFlowId()

      The job flow ID in which the instance groups are added.

      Returns:
      The job flow ID in which the instance groups are added.
    • withJobFlowId

      public AddInstanceGroupsResult withJobFlowId(String jobFlowId)

      The job flow ID in which the instance groups are added.

      Parameters:
      jobFlowId - The job flow ID in which the instance groups are added.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getInstanceGroupIds

      public List<String> getInstanceGroupIds()

      Instance group IDs of the newly created instance groups.

      Returns:
      Instance group IDs of the newly created instance groups.
    • setInstanceGroupIds

      public void setInstanceGroupIds(Collection<String> instanceGroupIds)

      Instance group IDs of the newly created instance groups.

      Parameters:
      instanceGroupIds - Instance group IDs of the newly created instance groups.
    • withInstanceGroupIds

      public AddInstanceGroupsResult withInstanceGroupIds(String... instanceGroupIds)

      Instance group IDs of the newly created instance groups.

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

      Parameters:
      instanceGroupIds - Instance group IDs of the newly created instance groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withInstanceGroupIds

      public AddInstanceGroupsResult withInstanceGroupIds(Collection<String> instanceGroupIds)

      Instance group IDs of the newly created instance groups.

      Parameters:
      instanceGroupIds - Instance group IDs of the newly created 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AddInstanceGroupsResult clone()
      Overrides:
      clone in class Object