com.amazonaws.services.elasticmapreduce.util

## クラス BootstrapActions.ConfigureDaemons

- java.lang.Object
- - com.amazonaws.services.elasticmapreduce.util.BootstrapActions.ConfigureDaemons

- 含まれているクラス:
    BootstrapActions

      public class BootstrapActions.ConfigureDaemons
      extends java.lang.Object

- - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `BootstrapActionConfig` | `build()` Returns an object which can be used in a RunJobflow call.
    `BootstrapActions.ConfigureDaemons` | `withHeapSize(BootstrapActions.Daemon daemon, int megabytes)` Set the heap size of a daemon.
    `BootstrapActions.ConfigureDaemons` | `withOpts(BootstrapActions.Daemon daemon, java.lang.String opts)` Specify additional Java opts to be included when the daemon starts.
    `BootstrapActions.ConfigureDaemons` | `withReplace(boolean replace)` Replace the existing hadoop-user-env.sh file if it exists.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### メソッドの詳細

    - #### withHeapSize

          public BootstrapActions.ConfigureDaemons withHeapSize(BootstrapActions.Daemon daemon,
                                                       int megabytes)

      Set the heap size of a daemon.
      パラメータ:
        `daemon` - The deamon to configure.
        `megabytes` - The requested heap size of the daemon.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### withOpts

          public BootstrapActions.ConfigureDaemons withOpts(BootstrapActions.Daemon daemon,
                                                   java.lang.String opts)

      Specify additional Java opts to be included when the daemon starts.
      パラメータ:
        `daemon` - The daemon to add opts to.
        `opts` - Additional Java command line arguments.
      戻り値:
        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.
      パラメータ:
        `replace` - whether the file should be replaced.
      戻り値:
        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.
      戻り値:
        an object which can be used in a RunJobflow call.