Interface AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder,,AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails> SdkBuilder<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder,,AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails> SdkPojo
- Enclosing class:
AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
public static interface AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe type of resource to assign to a container.The value for the specified resource type.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
-
type
The type of resource to assign to a container. Valid values are
GPUorInferenceAccelerator.- Parameters:
type- The type of resource to assign to a container. Valid values areGPUorInferenceAccelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value for the specified resource type.
For
GPU, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container.For
InferenceAccelerator, the value should match theDeviceNameattribute of an entry inInferenceAccelerators.- Parameters:
value- The value for the specified resource type.For
GPU, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container.For
InferenceAccelerator, the value should match theDeviceNameattribute of an entry inInferenceAccelerators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-