com.amazonaws.services.cloudsearch.model

## クラス SourceData

- java.lang.Object
- - com.amazonaws.services.cloudsearch.model.SourceData

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

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

  The source attribute name and an optional default value to use if a document doesn't have an attribute of that name.

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

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

    コンストラクタ
    コンストラクタと説明
    `SourceData()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDefaultValue()` The value of a field or source document attribute.
    `java.lang.String` | `getSourceName()` The name of the document source field to add to this `IndexField`.
    `int` | `hashCode()`
    `void` | `setDefaultValue(java.lang.String defaultValue)` The value of a field or source document attribute.
    `void` | `setSourceName(java.lang.String sourceName)` The name of the document source field to add to this `IndexField`.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SourceData` | `withDefaultValue(java.lang.String defaultValue)` The value of a field or source document attribute.
    `SourceData` | `withSourceName(java.lang.String sourceName)` The name of the document source field to add to this `IndexField`.

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

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

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

    - #### SourceData

          public SourceData()

  - ### メソッドの詳細

    - #### getSourceName

          public java.lang.String getSourceName()

      The name of the document source field to add to this `IndexField`.

      Constraints:
      Length: 1 - 64
      Pattern: [a-z][a-z0-9_]*

      戻り値:
        The name of the document source field to add to this `IndexField`.

    - #### setSourceName

          public void setSourceName(java.lang.String sourceName)

      The name of the document source field to add to this `IndexField`.

      Constraints:
      Length: 1 - 64
      Pattern: [a-z][a-z0-9_]*

      パラメータ:
        `sourceName` - The name of the document source field to add to this `IndexField`.

    - #### withSourceName

          public SourceData withSourceName(java.lang.String sourceName)

      The name of the document source field to add to this `IndexField`.

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

      Constraints:
      Length: 1 - 64
      Pattern: [a-z][a-z0-9_]*

      パラメータ:
        `sourceName` - The name of the document source field to add to this `IndexField`.

    - #### getDefaultValue

          public java.lang.String getDefaultValue()

      The value of a field or source document attribute.

      Constraints:
      Length: 0 - 1024

      戻り値:
        The value of a field or source document attribute.

    - #### setDefaultValue

          public void setDefaultValue(java.lang.String defaultValue)

      The value of a field or source document attribute.

      Constraints:
      Length: 0 - 1024

      パラメータ:
        `defaultValue` - The value of a field or source document attribute.

    - #### withDefaultValue

          public SourceData withDefaultValue(java.lang.String defaultValue)

      The value of a field or source document attribute.

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

      Constraints:
      Length: 0 - 1024

      パラメータ:
        `defaultValue` - The value of a field or source document attribute.

    - #### 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`