Class JobExecutionSettings
- java.lang.Object
-
- software.amazon.awssdk.services.transcribe.model.JobExecutionSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobExecutionSettings.Builder,JobExecutionSettings>
@Generated("software.amazon.awssdk:codegen") public final class JobExecutionSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobExecutionSettings.Builder,JobExecutionSettings>
Makes it possible to control how your transcription job is processed. Currently, the only
JobExecutionSettingsmodification you can choose is enabling job queueing using theAllowDeferredExecutionsub-parameter.If you include
JobExecutionSettingsin your request, you must also include the sub-parameters:AllowDeferredExecutionandDataAccessRoleArn.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobExecutionSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowDeferredExecution()Makes it possible to enable job queuing when your concurrent request limit is exceeded.static JobExecutionSettings.Builderbuilder()StringdataAccessRoleArn()The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends JobExecutionSettings.Builder>serializableBuilderClass()JobExecutionSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
allowDeferredExecution
public final Boolean allowDeferredExecution()
Makes it possible to enable job queuing when your concurrent request limit is exceeded. When
AllowDeferredExecutionis set totrue, transcription job requests are placed in a queue until the number of jobs falls below the concurrent request limit. IfAllowDeferredExecutionis set tofalseand the number of transcription job requests exceed the concurrent request limit, you get aLimitExceededExceptionerror.If you include
AllowDeferredExecutionin your request, you must also includeDataAccessRoleArn.- Returns:
- Makes it possible to enable job queuing when your concurrent request limit is exceeded. When
AllowDeferredExecutionis set totrue, transcription job requests are placed in a queue until the number of jobs falls below the concurrent request limit. IfAllowDeferredExecutionis set tofalseand the number of transcription job requests exceed the concurrent request limit, you get aLimitExceededExceptionerror.If you include
AllowDeferredExecutionin your request, you must also includeDataAccessRoleArn.
-
dataAccessRoleArn
public final String dataAccessRoleArn()
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format
arn:partition:iam::account:role/role-name-with-path. For example:arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs.Note that if you include
DataAccessRoleArnin your request, you must also includeAllowDeferredExecution.- Returns:
- The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that
contains your input files. If the role that you specify doesn’t have the appropriate permissions to
access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format
arn:partition:iam::account:role/role-name-with-path. For example:arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs.Note that if you include
DataAccessRoleArnin your request, you must also includeAllowDeferredExecution.
-
toBuilder
public JobExecutionSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobExecutionSettings.Builder,JobExecutionSettings>
-
builder
public static JobExecutionSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobExecutionSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-