Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticmapreduce.model
Class AddInstanceGroupsResult

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.AddInstanceGroupsResult
All Implemented Interfaces:
Serializable

public class AddInstanceGroupsResult
extends Object
implements Serializable

Output from an AddInstanceGroups call.

See Also:
Serialized Form

Constructor Summary
AddInstanceGroupsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getInstanceGroupIds()
          Instance group IDs of the newly created instance groups.
 String getJobFlowId()
          The job flow ID in which the instance groups are added.
 int hashCode()
           
 void setInstanceGroupIds(Collection<String> instanceGroupIds)
          Instance group IDs of the newly created instance groups.
 void setJobFlowId(String jobFlowId)
          The job flow ID in which the instance groups are added.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AddInstanceGroupsResult withInstanceGroupIds(Collection<String> instanceGroupIds)
          Instance group IDs of the newly created instance groups.
 AddInstanceGroupsResult withInstanceGroupIds(String... instanceGroupIds)
          Instance group IDs of the newly created instance groups.
 AddInstanceGroupsResult withJobFlowId(String jobFlowId)
          The job flow ID in which the instance groups are added.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddInstanceGroupsResult

public AddInstanceGroupsResult()
Method Detail

getJobFlowId

public String getJobFlowId()
The job flow ID in which the instance groups are added.

Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*

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

setJobFlowId

public void setJobFlowId(String jobFlowId)
The job flow ID in which the instance groups are added.

Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*

Parameters:
jobFlowId - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*

Parameters:
jobFlowId - The job flow ID in which the instance groups are added.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceGroupIds - Instance group IDs of the newly created instance groups.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceGroupIds - Instance group IDs of the newly created instance groups.
Returns:
A reference to this updated 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

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.