com.amazonaws.services.elasticmapreduce.model
Class SupportedProductConfig

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

public class SupportedProductConfig
extends Object
implements Serializable

The list of supported product configurations which allow user-supplied arguments. EMR accepts these arguments and forwards them to the corresponding installation script as bootstrap action arguments.

See Also:
Serialized Form

Constructor Summary
SupportedProductConfig()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getArgs()
          The list of user-supplied arguments.
 String getName()
          The name of the product configuration.
 int hashCode()
           
 void setArgs(Collection<String> args)
          The list of user-supplied arguments.
 void setName(String name)
          The name of the product configuration.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SupportedProductConfig withArgs(Collection<String> args)
          The list of user-supplied arguments.
 SupportedProductConfig withArgs(String... args)
          The list of user-supplied arguments.
 SupportedProductConfig withName(String name)
          The name of the product configuration.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SupportedProductConfig

public SupportedProductConfig()
Method Detail

getName

public String getName()
The name of the product configuration.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The name of the product configuration.

setName

public void setName(String name)
The name of the product configuration.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
name - The name of the product configuration.

withName

public SupportedProductConfig withName(String name)
The name of the product configuration.

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

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

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

getArgs

public List<String> getArgs()
The list of user-supplied arguments.

Returns:
The list of user-supplied arguments.

setArgs

public void setArgs(Collection<String> args)
The list of user-supplied arguments.

Parameters:
args - The list of user-supplied arguments.

withArgs

public SupportedProductConfig withArgs(String... args)
The list of user-supplied arguments.

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

Parameters:
args - The list of user-supplied arguments.
Returns:
A reference to this updated object so that method calls can be chained together.

withArgs

public SupportedProductConfig withArgs(Collection<String> args)
The list of user-supplied arguments.

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

Parameters:
args - The list of user-supplied arguments.
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 © 2016. All rights reserved.