Interface ContainerTaskConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerTaskConfiguration.Builder,,ContainerTaskConfiguration> SdkBuilder<ContainerTaskConfiguration.Builder,,ContainerTaskConfiguration> SdkPojo
- Enclosing class:
ContainerTaskConfiguration
@Mutable
@NotThreadSafe
public static interface ContainerTaskConfiguration.Builder
extends SdkPojo, CopyableBuilder<ContainerTaskConfiguration.Builder,ContainerTaskConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe command to execute in the container.command(Collection<String> command) The command to execute in the container.The Amazon ECR image URI for the task container.environmentVariables(Map<String, String> environmentVariables) Environment variables passed to the container at runtime.processingType(String processingType) The processing type for compute resources.processingType(ProcessingType processingType) The processing type for compute resources.processingUnit(String processingUnit) The processing unit allocation that determines the vCPU, memory, and GPU resources.processingUnit(ProcessingUnit processingUnit) The processing unit allocation that determines the vCPU, memory, and GPU resources.taskExecutionRole(String taskExecutionRole) The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.timeoutSeconds(Long timeoutSeconds) The timeout in seconds for task execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ecrUri
The Amazon ECR image URI for the task container.
- Parameters:
ecrUri- The Amazon ECR image URI for the task container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskExecutionRole
The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.
- Parameters:
taskExecutionRole- The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processingType
The processing type for compute resources.
- Parameters:
processingType- The processing type for compute resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingType
The processing type for compute resources.
- Parameters:
processingType- The processing type for compute resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingUnit
The processing unit allocation that determines the vCPU, memory, and GPU resources.
- Parameters:
processingUnit- The processing unit allocation that determines the vCPU, memory, and GPU resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingUnit
The processing unit allocation that determines the vCPU, memory, and GPU resources.
- Parameters:
processingUnit- The processing unit allocation that determines the vCPU, memory, and GPU resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
command
The command to execute in the container.
- Parameters:
command- The command to execute in the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
The command to execute in the container.
- Parameters:
command- The command to execute in the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutSeconds
The timeout in seconds for task execution. Default: 3600 (1 hour).
- Parameters:
timeoutSeconds- The timeout in seconds for task execution. Default: 3600 (1 hour).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
Environment variables passed to the container at runtime.
- Parameters:
environmentVariables- Environment variables passed to the container at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-