@Generated(value="software.amazon.awssdk:codegen") public final class Application extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Application.Builder,Application>
An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument. For more information, see Using the MapR Distribution for Hadoop. Currently supported values are:
"mapr-m3" - launch the cluster using MapR M3 Edition.
"mapr-m5" - launch the cluster using MapR M5 Edition.
"mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" - launch the cluster using MapR M3 or M5 Edition, respectively.
In Amazon EMR releases 4.x and later, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application.
Modifier and Type | Class and Description |
---|---|
static interface |
Application.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
additionalInfo()
This option is for advanced users only.
|
List<String> |
args()
Arguments for Amazon EMR to pass to the application.
|
static Application.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the application.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Application.Builder> |
serializableBuilderClass() |
Application.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The version of the application.
|
copy
public String name()
The name of the application.
public String version()
The version of the application.
public List<String> args()
Arguments for Amazon EMR to pass to the application.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,String> additionalInfo()
This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Application.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Application.Builder,Application>
public static Application.Builder builder()
public static Class<? extends Application.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.