com.amazonaws.services.elastictranscoder.model

## クラス TestRoleRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elastictranscoder.model.TestRoleRequest

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

      public class TestRoleRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `TestRole operation`.

  The TestRole operation tests the IAM role used to create the pipeline.

  The `TestRole` action lets you determine whether the IAM role you are using has sufficient permissions to let Elastic Transcoder perform tasks associated with the transcoding process. The action attempts to assume the specified IAM role, checks read access to the input and output buckets, and tries to send a test notification to Amazon SNS topics that you specify.

  関連項目:
    `AmazonElasticTranscoder.testRole(TestRoleRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getInputBucket()` The Amazon S3 bucket that contains media files to be transcoded.
    `java.lang.String` | `getOutputBucket()` The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to.
    `java.lang.String` | `getRole()` The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.
    `java.util.List<java.lang.String>` | `getTopics()` The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.
    `int` | `hashCode()`
    `void` | `setInputBucket(java.lang.String inputBucket)` The Amazon S3 bucket that contains media files to be transcoded.
    `void` | `setOutputBucket(java.lang.String outputBucket)` The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to.
    `void` | `setRole(java.lang.String role)` The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.
    `void` | `setTopics(java.util.Collection<java.lang.String> topics)` The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `TestRoleRequest` | `withInputBucket(java.lang.String inputBucket)` The Amazon S3 bucket that contains media files to be transcoded.
    `TestRoleRequest` | `withOutputBucket(java.lang.String outputBucket)` The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to.
    `TestRoleRequest` | `withRole(java.lang.String role)` The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.
    `TestRoleRequest` | `withTopics(java.util.Collection<java.lang.String> topics)` The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.
    `TestRoleRequest` | `withTopics(java.lang.String... topics)` The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### TestRoleRequest

          public TestRoleRequest()

  - ### メソッドの詳細

    - #### getRole

          public java.lang.String getRole()

      The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.

      Constraints:
      Pattern: ^arn:aws:iam::\w{12}:role/.+$

      戻り値:
        The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.

    - #### setRole

          public void setRole(java.lang.String role)

      The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.

      Constraints:
      Pattern: ^arn:aws:iam::\w{12}:role/.+$

      パラメータ:
        `role` - The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.

    - #### withRole

          public TestRoleRequest withRole(java.lang.String role)

      The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.

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

      Constraints:
      Pattern: ^arn:aws:iam::\w{12}:role/.+$

      パラメータ:
        `role` - The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.

    - #### getInputBucket

          public java.lang.String getInputBucket()

      The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.

      Constraints:
      Pattern: ^(\w|\.|-){1,255}$

      戻り値:
        The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.

    - #### setInputBucket

          public void setInputBucket(java.lang.String inputBucket)

      The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.

      Constraints:
      Pattern: ^(\w|\.|-){1,255}$

      パラメータ:
        `inputBucket` - The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.

    - #### withInputBucket

          public TestRoleRequest withInputBucket(java.lang.String inputBucket)

      The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.

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

      Constraints:
      Pattern: ^(\w|\.|-){1,255}$

      パラメータ:
        `inputBucket` - The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.

    - #### getOutputBucket

          public java.lang.String getOutputBucket()

      The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.

      Constraints:
      Pattern: ^(\w|\.|-){1,255}$

      戻り値:
        The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.

    - #### setOutputBucket

          public void setOutputBucket(java.lang.String outputBucket)

      The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.

      Constraints:
      Pattern: ^(\w|\.|-){1,255}$

      パラメータ:
        `outputBucket` - The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.

    - #### withOutputBucket

          public TestRoleRequest withOutputBucket(java.lang.String outputBucket)

      The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.

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

      Constraints:
      Pattern: ^(\w|\.|-){1,255}$

      パラメータ:
        `outputBucket` - The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.

    - #### getTopics

          public java.util.List<java.lang.String> getTopics()

      The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

      Constraints:
      Length: 0 - 30

      戻り値:
        The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

    - #### setTopics

          public void setTopics(java.util.Collection<java.lang.String> topics)

      The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

      Constraints:
      Length: 0 - 30

      パラメータ:
        `topics` - The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

    - #### withTopics

          public TestRoleRequest withTopics(java.lang.String... topics)

      The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

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

      Constraints:
      Length: 0 - 30

      パラメータ:
        `topics` - The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

    - #### withTopics

          public TestRoleRequest withTopics(java.util.Collection<java.lang.String> topics)

      The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

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

      Constraints:
      Length: 0 - 30

      パラメータ:
        `topics` - The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

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