com.amazonaws.services.sns.model

## クラス CreateTopicRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.sns.model.CreateTopicRequest

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

      public class CreateTopicRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateTopic operation`.

  The `CreateTopic` action creates a topic to which notifications can be published. Users can create at most 100 topics. For more information, see http://aws.amazon.com/sns . This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.

  関連項目:
    `AmazonSNS.createTopic(CreateTopicRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `CreateTopicRequest()` Default constructor for a new CreateTopicRequest object.
    `CreateTopicRequest(java.lang.String name)` Constructs a new CreateTopicRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getName()` The name of the topic you want to create.
    `int` | `hashCode()`
    `void` | `setName(java.lang.String name)` The name of the topic you want to create.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateTopicRequest` | `withName(java.lang.String name)` The name of the topic you want to create.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateTopicRequest

          public CreateTopicRequest()

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

    - #### CreateTopicRequest

          public CreateTopicRequest(java.lang.String name)

      Constructs a new CreateTopicRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `name` - The name of the topic you want to create.

        Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

  - ### メソッドの詳細

    - #### getName

          public java.lang.String getName()

      The name of the topic you want to create.

      Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

      戻り値:
        The name of the topic you want to create.

        Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

    - #### setName

          public void setName(java.lang.String name)

      The name of the topic you want to create.

      Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

      パラメータ:
        `name` - The name of the topic you want to create.

        Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

    - #### withName

          public CreateTopicRequest withName(java.lang.String name)

      The name of the topic you want to create.

      Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

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

      パラメータ:
        `name` - The name of the topic you want to create.

        Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

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