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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
The type of resource to assign to a container. Valid values are
GPU
orInferenceAccelerator
.- Parameters:
type
- The type of resource to assign to a container. Valid values areGPU
orInferenceAccelerator
.- 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 theDeviceName
attribute 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 theDeviceName
attribute of an entry inInferenceAccelerators
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-