@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobExecutionSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about when a transcription job should be executed.
| Constructor and Description |
|---|
JobExecutionSettings() |
| Modifier and Type | Method and Description |
|---|---|
JobExecutionSettings |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowDeferredExecution()
Indicates whether a job should be queued by Amazon Transcribe when the concurrent execution limit is exceeded.
|
String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files.
|
int |
hashCode() |
Boolean |
isAllowDeferredExecution()
Indicates whether a job should be queued by Amazon Transcribe when the concurrent execution limit is exceeded.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAllowDeferredExecution(Boolean allowDeferredExecution)
Indicates whether a job should be queued by Amazon Transcribe when the concurrent execution limit is exceeded.
|
void |
setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files.
|
String |
toString()
Returns a string representation of this object.
|
JobExecutionSettings |
withAllowDeferredExecution(Boolean allowDeferredExecution)
Indicates whether a job should be queued by Amazon Transcribe when the concurrent execution limit is exceeded.
|
JobExecutionSettings |
withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files.
|
public void setAllowDeferredExecution(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 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.
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(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 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.
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 setDataAccessRoleArn(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.
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 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.
If you specify the AllowDeferredExecution field, you must specify the
DataAccessRoleArn field.
public JobExecutionSettings withDataAccessRoleArn(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.
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 String toString()
toString in class ObjectObject.toString()public JobExecutionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.