public class TestRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
 
NOOP| Constructor and Description | 
|---|
| TestRoleRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| TestRoleRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getInputBucket()The Amazon S3 bucket that contains media files to be transcoded. | 
| String | getOutputBucket()The Amazon S3 bucket that Elastic Transcoder will write transcoded
 media files to. | 
| String | getRole()The IAM Amazon Resource Name (ARN) for the role that you want Elastic
 Transcoder to test. | 
| 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. | 
| int | hashCode() | 
| void | setInputBucket(String inputBucket)The Amazon S3 bucket that contains media files to be transcoded. | 
| void | setOutputBucket(String outputBucket)The Amazon S3 bucket that Elastic Transcoder will write transcoded
 media files to. | 
| void | setRole(String role)The IAM Amazon Resource Name (ARN) for the role that you want Elastic
 Transcoder to test. | 
| 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. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| TestRoleRequest | withInputBucket(String inputBucket)The Amazon S3 bucket that contains media files to be transcoded. | 
| TestRoleRequest | withOutputBucket(String outputBucket)The Amazon S3 bucket that Elastic Transcoder will write transcoded
 media files to. | 
| TestRoleRequest | withRole(String role)The IAM Amazon Resource Name (ARN) for the role that you want Elastic
 Transcoder to test. | 
| 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. | 
| 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. | 
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getRole()
 Constraints:
 Pattern: ^arn:aws:iam::\w{12}:role/.+$
public void setRole(String role)
 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.public TestRoleRequest withRole(String role)
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.public String getInputBucket()
 Constraints:
 Pattern: ^(\w|\.|-){1,255}$
public void setInputBucket(String inputBucket)
 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.public TestRoleRequest withInputBucket(String inputBucket)
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.public String getOutputBucket()
 Constraints:
 Pattern: ^(\w|\.|-){1,255}$
public void setOutputBucket(String outputBucket)
 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.public TestRoleRequest withOutputBucket(String outputBucket)
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.public List<String> getTopics()
 Constraints:
 Length: 0 - 30
public void setTopics(Collection<String> topics)
 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.public TestRoleRequest withTopics(String... topics)
 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.
 
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.public TestRoleRequest withTopics(Collection<String> topics)
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.public String toString()
toString in class ObjectObject.toString()public TestRoleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.