com.amazonaws.services.elasticbeanstalk.model

## クラス ValidationMessage

- java.lang.Object
- - com.amazonaws.services.elasticbeanstalk.model.ValidationMessage

- すべての実装されたインタフェース:
    java.io.Serializable

      public class ValidationMessage
      extends java.lang.Object
      implements java.io.Serializable

  An error or warning for a desired configuration option value.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `ValidationMessage()` Default constructor for a new ValidationMessage object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getMessage()` A message describing the error or warning.
    `java.lang.String` | `getNamespace()`
    `java.lang.String` | `getOptionName()`
    `java.lang.String` | `getSeverity()` An indication of the severity of this message: error: This message indicates that this is not a valid setting for an option.
    `int` | `hashCode()`
    `void` | `setMessage(java.lang.String message)` A message describing the error or warning.
    `void` | `setNamespace(java.lang.String namespace)`
    `void` | `setOptionName(java.lang.String optionName)`
    `void` | `setSeverity(java.lang.String severity)` An indication of the severity of this message: error: This message indicates that this is not a valid setting for an option.
    `void` | `setSeverity(ValidationSeverity severity)` An indication of the severity of this message: error: This message indicates that this is not a valid setting for an option.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ValidationMessage` | `withMessage(java.lang.String message)` A message describing the error or warning.
    `ValidationMessage` | `withNamespace(java.lang.String namespace)` Returns a reference to this object so that method calls can be chained together.
    `ValidationMessage` | `withOptionName(java.lang.String optionName)` Returns a reference to this object so that method calls can be chained together.
    `ValidationMessage` | `withSeverity(java.lang.String severity)` An indication of the severity of this message: error: This message indicates that this is not a valid setting for an option.
    `ValidationMessage` | `withSeverity(ValidationSeverity severity)` An indication of the severity of this message: error: This message indicates that this is not a valid setting for an option.

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### ValidationMessage

          public ValidationMessage()

      Default constructor for a new ValidationMessage object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

  - ### メソッドの詳細

    - #### getMessage

          public java.lang.String getMessage()

      A message describing the error or warning.
      戻り値:
        A message describing the error or warning.

    - #### setMessage

          public void setMessage(java.lang.String message)

      A message describing the error or warning.
      パラメータ:
        `message` - A message describing the error or warning.

    - #### withMessage

          public ValidationMessage withMessage(java.lang.String message)

      A message describing the error or warning.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `message` - A message describing the error or warning.

    - #### getSeverity

          public java.lang.String getSeverity()

      An indication of the severity of this message:

      error: This message indicates that this is not a valid setting for an option.

      warning: This message is providing information you should take into account.

      - error: This message indicates that this is not a valid setting for an option.
      - warning: This message is providing information you should take into account.

      Constraints:
      Allowed Values: error, warning

      戻り値:
        An indication of the severity of this message:

        error: This message indicates that this is not a valid setting for an option.

        warning: This message is providing information you should take into account.

        - error: This message indicates that this is not a valid setting for an option.
        - warning: This message is providing information you should take into account.
      関連項目:
        `ValidationSeverity`

    - #### setSeverity

          public void setSeverity(java.lang.String severity)

      An indication of the severity of this message:

      error: This message indicates that this is not a valid setting for an option.

      warning: This message is providing information you should take into account.

      - error: This message indicates that this is not a valid setting for an option.
      - warning: This message is providing information you should take into account.

      Constraints:
      Allowed Values: error, warning

      パラメータ:
        `severity` - An indication of the severity of this message:

        error: This message indicates that this is not a valid setting for an option.

        warning: This message is providing information you should take into account.

        - error: This message indicates that this is not a valid setting for an option.
        - warning: This message is providing information you should take into account.
      関連項目:
        `ValidationSeverity`

    - #### withSeverity

          public ValidationMessage withSeverity(java.lang.String severity)

      An indication of the severity of this message:

      error: This message indicates that this is not a valid setting for an option.

      warning: This message is providing information you should take into account.

      - error: This message indicates that this is not a valid setting for an option.
      - warning: This message is providing information you should take into account.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: error, warning

      パラメータ:
        `severity` - An indication of the severity of this message:

        error: This message indicates that this is not a valid setting for an option.

        warning: This message is providing information you should take into account.

        - error: This message indicates that this is not a valid setting for an option.
        - warning: This message is providing information you should take into account.
      関連項目:
        `ValidationSeverity`

    - #### setSeverity

          public void setSeverity(ValidationSeverity severity)

      An indication of the severity of this message:

      error: This message indicates that this is not a valid setting for an option.

      warning: This message is providing information you should take into account.

      - error: This message indicates that this is not a valid setting for an option.
      - warning: This message is providing information you should take into account.

      Constraints:
      Allowed Values: error, warning

      パラメータ:
        `severity` - An indication of the severity of this message:

        error: This message indicates that this is not a valid setting for an option.

        warning: This message is providing information you should take into account.

        - error: This message indicates that this is not a valid setting for an option.
        - warning: This message is providing information you should take into account.
      関連項目:
        `ValidationSeverity`

    - #### withSeverity

          public ValidationMessage withSeverity(ValidationSeverity severity)

      An indication of the severity of this message:

      error: This message indicates that this is not a valid setting for an option.

      warning: This message is providing information you should take into account.

      - error: This message indicates that this is not a valid setting for an option.
      - warning: This message is providing information you should take into account.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: error, warning

      パラメータ:
        `severity` - An indication of the severity of this message:

        error: This message indicates that this is not a valid setting for an option.

        warning: This message is providing information you should take into account.

        - error: This message indicates that this is not a valid setting for an option.
        - warning: This message is providing information you should take into account.
      関連項目:
        `ValidationSeverity`

    - #### getNamespace

          public java.lang.String getNamespace()

      戻り値:

    - #### setNamespace

          public void setNamespace(java.lang.String namespace)

      パラメータ:
        `namespace` -

    - #### withNamespace

          public ValidationMessage withNamespace(java.lang.String namespace)

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `namespace` -

    - #### getOptionName

          public java.lang.String getOptionName()

      戻り値:

    - #### setOptionName

          public void setOptionName(java.lang.String optionName)

      パラメータ:
        `optionName` -

    - #### withOptionName

          public ValidationMessage withOptionName(java.lang.String optionName)

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `optionName` -

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`