Class BootstrapActions.ConfigureDaemons

java.lang.Object
com.amazonaws.services.elasticmapreduce.util.BootstrapActions.ConfigureDaemons
Enclosing class:
BootstrapActions

public class BootstrapActions.ConfigureDaemons extends Object
  • Method Details

    • withHeapSize

      public BootstrapActions.ConfigureDaemons withHeapSize(BootstrapActions.Daemon daemon, int megabytes)
      Set the heap size of a daemon.
      Parameters:
      daemon - The deamon to configure.
      megabytes - The requested heap size of the daemon.
      Returns:
      A reference to this updated object so that method calls can be chained together.
    • withOpts

      Specify additional Java opts to be included when the daemon starts.
      Parameters:
      daemon - The daemon to add opts to.
      opts - Additional Java command line arguments.
      Returns:
      A reference to this updated object so that method calls can be chained together.
    • withReplace

      public BootstrapActions.ConfigureDaemons withReplace(boolean replace)
      Replace the existing hadoop-user-env.sh file if it exists.
      Parameters:
      replace - whether the file should be replaced.
      Returns:
      A reference to this updated object so that method calls can be chained together.
    • build

      public BootstrapActionConfig build()
      Returns an object which can be used in a RunJobflow call.
      Returns:
      an object which can be used in a RunJobflow call.