Class TestRoleRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elastictranscoder.model.TestRoleRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class TestRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The TestRoleRequest structure.

See Also:
  • Constructor Details

    • TestRoleRequest

      public TestRoleRequest()
  • Method Details

    • setRole

      public void setRole(String role)

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

      Parameters:
      role - The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.
    • getRole

      public String getRole()

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

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

      public TestRoleRequest withRole(String role)

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

      Parameters:
      role - The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setInputBucket

      public void setInputBucket(String inputBucket)

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

      Parameters:
      inputBucket - The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.
    • getInputBucket

      public String getInputBucket()

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

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

      public TestRoleRequest withInputBucket(String inputBucket)

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

      Parameters:
      inputBucket - The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setOutputBucket

      public void setOutputBucket(String outputBucket)

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

      Parameters:
      outputBucket - The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.
    • getOutputBucket

      public String getOutputBucket()

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

      Returns:
      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(String outputBucket)

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

      Parameters:
      outputBucket - The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTopics

      public List<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.

      Returns:
      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(Collection<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.

      Parameters:
      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(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.

      NOTE: This method appends the values to the existing list (if any). Use setTopics(java.util.Collection) or withTopics(java.util.Collection) if you want to override the existing values.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • withTopics

      public TestRoleRequest withTopics(Collection<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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public TestRoleRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: