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.
Constructor and Description |
---|
SupportedProductConfig() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getName()
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setName(String name)
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
name
- The name of the product configuration.public SupportedProductConfig withName(String name)
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]*
name
- The name of the product configuration.public List<String> getArgs()
public void setArgs(Collection<String> args)
args
- The list of user-supplied arguments.public SupportedProductConfig withArgs(String... args)
Returns a reference to this object so that method calls can be chained together.
args
- The list of user-supplied arguments.public SupportedProductConfig withArgs(Collection<String> args)
Returns a reference to this object so that method calls can be chained together.
args
- The list of user-supplied arguments.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.