Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticmapreduce.model
Class BootstrapActionConfig

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.BootstrapActionConfig

public class BootstrapActionConfig
extends java.lang.Object

Configuration of a bootstrap action.


Constructor Summary
BootstrapActionConfig()
          Default constructor for a new BootstrapActionConfig object.
BootstrapActionConfig(java.lang.String name, ScriptBootstrapActionConfig scriptBootstrapAction)
          Constructs a new BootstrapActionConfig object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          The name of the bootstrap action.
 ScriptBootstrapActionConfig getScriptBootstrapAction()
          The script run by the bootstrap action.
 int hashCode()
           
 void setName(java.lang.String name)
          The name of the bootstrap action.
 void setScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
          The script run by the bootstrap action.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 BootstrapActionConfig withName(java.lang.String name)
          The name of the bootstrap action.
 BootstrapActionConfig withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
          The script run by the bootstrap action.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrapActionConfig

public BootstrapActionConfig()
Default constructor for a new BootstrapActionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


BootstrapActionConfig

public BootstrapActionConfig(java.lang.String name,
                             ScriptBootstrapActionConfig scriptBootstrapAction)
Constructs a new BootstrapActionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
name - The name of the bootstrap action.
scriptBootstrapAction - The script run by the bootstrap action.
Method Detail

getName

public java.lang.String getName()
The name of the bootstrap action.

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

Returns:
The name of the bootstrap action.

setName

public void setName(java.lang.String name)
The name of the bootstrap action.

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

Parameters:
name - The name of the bootstrap action.

withName

public BootstrapActionConfig withName(java.lang.String name)
The name of the bootstrap action.

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

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

Parameters:
name - The name of the bootstrap action.
Returns:
A reference to this updated object so that method calls can be chained together.

getScriptBootstrapAction

public ScriptBootstrapActionConfig getScriptBootstrapAction()
The script run by the bootstrap action.

Returns:
The script run by the bootstrap action.

setScriptBootstrapAction

public void setScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.

Parameters:
scriptBootstrapAction - The script run by the bootstrap action.

withScriptBootstrapAction

public BootstrapActionConfig withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.

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

Parameters:
scriptBootstrapAction - The script run by the bootstrap action.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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