Class SupportedProductConfig

java.lang.Object
com.amazonaws.services.elasticmapreduce.model.SupportedProductConfig
All Implemented Interfaces:
Serializable, Cloneable

public class SupportedProductConfig extends Object implements Serializable, Cloneable

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.

See Also:
  • Constructor Details

    • SupportedProductConfig

      public SupportedProductConfig()
  • Method Details

    • setName

      public void setName(String name)

      The name of the product configuration.

      Parameters:
      name - The name of the product configuration.
    • getName

      public String getName()

      The name of the product configuration.

      Returns:
      The name of the product configuration.
    • withName

      public SupportedProductConfig withName(String name)

      The name of the product configuration.

      Parameters:
      name - The name of the product configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getArgs

      public List<String> getArgs()

      The list of user-supplied arguments.

      Returns:
      The list of user-supplied arguments.
    • setArgs

      public void setArgs(Collection<String> args)

      The list of user-supplied arguments.

      Parameters:
      args - The list of user-supplied arguments.
    • withArgs

      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.

      Parameters:
      args - The list of user-supplied arguments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withArgs

      public SupportedProductConfig withArgs(Collection<String> args)

      The list of user-supplied arguments.

      Parameters:
      args - The list of user-supplied arguments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public SupportedProductConfig clone()
      Overrides:
      clone in class Object