public class JobExecutionSettings
extends java.lang.Object
implements java.io.Serializable
Provides information about when a transcription job should be executed.
Constructor and Description |
---|
JobExecutionSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAllowDeferredExecution()
Indicates whether a job should be queued by Amazon Transcribe when the
concurrent execution limit is exceeded.
|
java.lang.String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket
that contains the input files.
|
int |
hashCode() |
java.lang.Boolean |
isAllowDeferredExecution()
Indicates whether a job should be queued by Amazon Transcribe when the
concurrent execution limit is exceeded.
|
void |
setAllowDeferredExecution(java.lang.Boolean allowDeferredExecution)
Indicates whether a job should be queued by Amazon Transcribe when the
concurrent execution limit is exceeded.
|
void |
setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket
that contains the input files.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobExecutionSettings |
withAllowDeferredExecution(java.lang.Boolean allowDeferredExecution)
Indicates whether a job should be queued by Amazon Transcribe when the
concurrent execution limit is exceeded.
|
JobExecutionSettings |
withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket
that contains the input files.
|
public java.lang.Boolean isAllowDeferredExecution()
Indicates whether a job should be queued by Amazon Transcribe when the
concurrent execution limit is exceeded. When the
AllowDeferredExecution
field is true, jobs are queued and
executed when the number of executing jobs falls below the concurrent
execution limit. If the field is false, Amazon Transcribe returns a
LimitExceededException
exception.
If you specify the AllowDeferredExecution
field, you must
specify the DataAccessRoleArn
field.
Indicates whether a job should be queued by Amazon Transcribe
when the concurrent execution limit is exceeded. When the
AllowDeferredExecution
field is true, jobs are
queued and executed when the number of executing jobs falls below
the concurrent execution limit. If the field is false, Amazon
Transcribe returns a LimitExceededException
exception.
If you specify the AllowDeferredExecution
field, you
must specify the DataAccessRoleArn
field.
public java.lang.Boolean getAllowDeferredExecution()
Indicates whether a job should be queued by Amazon Transcribe when the
concurrent execution limit is exceeded. When the
AllowDeferredExecution
field is true, jobs are queued and
executed when the number of executing jobs falls below the concurrent
execution limit. If the field is false, Amazon Transcribe returns a
LimitExceededException
exception.
If you specify the AllowDeferredExecution
field, you must
specify the DataAccessRoleArn
field.
Indicates whether a job should be queued by Amazon Transcribe
when the concurrent execution limit is exceeded. When the
AllowDeferredExecution
field is true, jobs are
queued and executed when the number of executing jobs falls below
the concurrent execution limit. If the field is false, Amazon
Transcribe returns a LimitExceededException
exception.
If you specify the AllowDeferredExecution
field, you
must specify the DataAccessRoleArn
field.
public void setAllowDeferredExecution(java.lang.Boolean allowDeferredExecution)
Indicates whether a job should be queued by Amazon Transcribe when the
concurrent execution limit is exceeded. When the
AllowDeferredExecution
field is true, jobs are queued and
executed when the number of executing jobs falls below the concurrent
execution limit. If the field is false, Amazon Transcribe returns a
LimitExceededException
exception.
If you specify the AllowDeferredExecution
field, you must
specify the DataAccessRoleArn
field.
allowDeferredExecution
-
Indicates whether a job should be queued by Amazon Transcribe
when the concurrent execution limit is exceeded. When the
AllowDeferredExecution
field is true, jobs are
queued and executed when the number of executing jobs falls
below the concurrent execution limit. If the field is false,
Amazon Transcribe returns a
LimitExceededException
exception.
If you specify the AllowDeferredExecution
field,
you must specify the DataAccessRoleArn
field.
public JobExecutionSettings withAllowDeferredExecution(java.lang.Boolean allowDeferredExecution)
Indicates whether a job should be queued by Amazon Transcribe when the
concurrent execution limit is exceeded. When the
AllowDeferredExecution
field is true, jobs are queued and
executed when the number of executing jobs falls below the concurrent
execution limit. If the field is false, Amazon Transcribe returns a
LimitExceededException
exception.
If you specify the AllowDeferredExecution
field, you must
specify the DataAccessRoleArn
field.
Returns a reference to this object so that method calls can be chained together.
allowDeferredExecution
-
Indicates whether a job should be queued by Amazon Transcribe
when the concurrent execution limit is exceeded. When the
AllowDeferredExecution
field is true, jobs are
queued and executed when the number of executing jobs falls
below the concurrent execution limit. If the field is false,
Amazon Transcribe returns a
LimitExceededException
exception.
If you specify the AllowDeferredExecution
field,
you must specify the DataAccessRoleArn
field.
public java.lang.String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files. Amazon Transcribe assumes this role to read queued media files. If you have specified an output S3 bucket for the transcription results, this role should have access to the output bucket as well.
If you specify the AllowDeferredExecution
field, you must
specify the DataAccessRoleArn
field.
Constraints:
Length: 20 - 2048
Pattern:
^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
[0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files. Amazon Transcribe assumes this role to read queued media files. If you have specified an output S3 bucket for the transcription results, this role should have access to the output bucket as well.
If you specify the AllowDeferredExecution
field, you
must specify the DataAccessRoleArn
field.
public void setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files. Amazon Transcribe assumes this role to read queued media files. If you have specified an output S3 bucket for the transcription results, this role should have access to the output bucket as well.
If you specify the AllowDeferredExecution
field, you must
specify the DataAccessRoleArn
field.
Constraints:
Length: 20 - 2048
Pattern:
^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
[0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
dataAccessRoleArn
- The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files. Amazon Transcribe assumes this role to read queued media files. If you have specified an output S3 bucket for the transcription results, this role should have access to the output bucket as well.
If you specify the AllowDeferredExecution
field,
you must specify the DataAccessRoleArn
field.
public JobExecutionSettings withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files. Amazon Transcribe assumes this role to read queued media files. If you have specified an output S3 bucket for the transcription results, this role should have access to the output bucket as well.
If you specify the AllowDeferredExecution
field, you must
specify the DataAccessRoleArn
field.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
[0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
dataAccessRoleArn
- The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files. Amazon Transcribe assumes this role to read queued media files. If you have specified an output S3 bucket for the transcription results, this role should have access to the output bucket as well.
If you specify the AllowDeferredExecution
field,
you must specify the DataAccessRoleArn
field.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.