@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Amazon EMR releases 4.x or later.
An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications.
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
Configuration |
addPropertiesEntry(String key,
String value) |
Configuration |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getClassification()
The classification within a configuration.
|
List<Configuration> |
getConfigurations()
A list of additional configurations to apply within a configuration object.
|
Map<String,String> |
getProperties()
A set of properties specified within a configuration classification.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClassification(String classification)
The classification within a configuration.
|
void |
setConfigurations(Collection<Configuration> configurations)
A list of additional configurations to apply within a configuration object.
|
void |
setProperties(Map<String,String> properties)
A set of properties specified within a configuration classification.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Configuration |
withClassification(String classification)
The classification within a configuration.
|
Configuration |
withConfigurations(Collection<Configuration> configurations)
A list of additional configurations to apply within a configuration object.
|
Configuration |
withConfigurations(Configuration... configurations)
A list of additional configurations to apply within a configuration object.
|
Configuration |
withProperties(Map<String,String> properties)
A set of properties specified within a configuration classification.
|
public void setClassification(String classification)
The classification within a configuration.
classification
- The classification within a configuration.public String getClassification()
The classification within a configuration.
public Configuration withClassification(String classification)
The classification within a configuration.
classification
- The classification within a configuration.public List<Configuration> getConfigurations()
A list of additional configurations to apply within a configuration object.
public void setConfigurations(Collection<Configuration> configurations)
A list of additional configurations to apply within a configuration object.
configurations
- A list of additional configurations to apply within a configuration object.public Configuration withConfigurations(Configuration... configurations)
A list of additional configurations to apply within a configuration object.
NOTE: This method appends the values to the existing list (if any). Use
setConfigurations(java.util.Collection)
or withConfigurations(java.util.Collection)
if you want
to override the existing values.
configurations
- A list of additional configurations to apply within a configuration object.public Configuration withConfigurations(Collection<Configuration> configurations)
A list of additional configurations to apply within a configuration object.
configurations
- A list of additional configurations to apply within a configuration object.public Map<String,String> getProperties()
A set of properties specified within a configuration classification.
public void setProperties(Map<String,String> properties)
A set of properties specified within a configuration classification.
properties
- A set of properties specified within a configuration classification.public Configuration withProperties(Map<String,String> properties)
A set of properties specified within a configuration classification.
properties
- A set of properties specified within a configuration classification.public Configuration addPropertiesEntry(String key, String value)
public Configuration clearPropertiesEntries()
public String toString()
toString
in class Object
Object.toString()
public Configuration 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.