@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SupportedProductConfig extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
SupportedProductConfig() |
Modifier and Type | Method and Description |
---|---|
SupportedProductConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getArgs()
The list of user-supplied arguments.
|
String |
getName()
The name of the product configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
public void setName(String name)
The name of the product configuration.
name
- The name of the product configuration.public String getName()
The name of the product configuration.
public SupportedProductConfig withName(String name)
The name of the product configuration.
name
- The name of the product configuration.public List<String> getArgs()
The list of user-supplied arguments.
public void setArgs(Collection<String> args)
The list of user-supplied arguments.
args
- The list of user-supplied arguments.public SupportedProductConfig withArgs(String... args)
The list of user-supplied arguments.
NOTE: This method appends the values to the existing list (if any). Use
setArgs(java.util.Collection)
or withArgs(java.util.Collection)
if you want to override the
existing values.
args
- The list of user-supplied arguments.public SupportedProductConfig withArgs(Collection<String> args)
The list of user-supplied arguments.
args
- The list of user-supplied arguments.public String toString()
toString
in class Object
Object.toString()
public SupportedProductConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.