|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.Application
public class 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 Launch a Job Flow on the MapR Distribution for Hadoop . Currently supported values are:
Constructor Summary | |
---|---|
Application()
|
Method Summary | |
---|---|
Application |
addAdditionalInfoEntry(String key,
String value)
This option is for advanced users only. |
Application |
clearAdditionalInfoEntries()
Removes all the entries added into AdditionalInfo. |
boolean |
equals(Object obj)
|
Map<String,String> |
getAdditionalInfo()
This option is for advanced users only. |
List<String> |
getArgs()
Arguments for Amazon EMR to pass to the application. |
String |
getName()
The name of the application. |
String |
getVersion()
The version of the application. |
int |
hashCode()
|
void |
setAdditionalInfo(Map<String,String> additionalInfo)
This option is for advanced users only. |
void |
setArgs(Collection<String> args)
Arguments for Amazon EMR to pass to the application. |
void |
setName(String name)
The name of the application. |
void |
setVersion(String version)
The version of the application. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Application |
withAdditionalInfo(Map<String,String> additionalInfo)
This option is for advanced users only. |
Application |
withArgs(Collection<String> args)
Arguments for Amazon EMR to pass to the application. |
Application |
withArgs(String... args)
Arguments for Amazon EMR to pass to the application. |
Application |
withName(String name)
The name of the application. |
Application |
withVersion(String version)
The version of the application. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Application()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name of the application.public Application withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the application.
public String getVersion()
public void setVersion(String version)
version
- The version of the application.public Application withVersion(String version)
Returns a reference to this object so that method calls can be chained together.
version
- The version of the application.
public List<String> getArgs()
public void setArgs(Collection<String> args)
args
- Arguments for Amazon EMR to pass to the application.public Application withArgs(String... args)
Returns a reference to this object so that method calls can be chained together.
args
- Arguments for Amazon EMR to pass to the application.
public Application withArgs(Collection<String> args)
Returns a reference to this object so that method calls can be chained together.
args
- Arguments for Amazon EMR to pass to the application.
public Map<String,String> getAdditionalInfo()
public void setAdditionalInfo(Map<String,String> additionalInfo)
additionalInfo
- This option is for advanced users only. This is meta information about
third-party applications that third-party vendors use for testing
purposes.public Application withAdditionalInfo(Map<String,String> additionalInfo)
Returns a reference to this object so that method calls can be chained together.
additionalInfo
- This option is for advanced users only. This is meta information about
third-party applications that third-party vendors use for testing
purposes.
public Application addAdditionalInfoEntry(String key, String value)
The method adds a new key-value pair into AdditionalInfo parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into AdditionalInfo.value
- The corresponding value of the entry to be added into AdditionalInfo.public Application clearAdditionalInfoEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |