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 Details

    • type

      The type of resource to assign to a container. Valid values are GPU or InferenceAccelerator.

      Parameters:
      type - The type of resource to assign to a container. Valid values are GPU or InferenceAccelerator.
      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 the DeviceName attribute of an entry in InferenceAccelerators.

      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 the DeviceName attribute of an entry in InferenceAccelerators.

      Returns:
      Returns a reference to this object so that method calls can be chained together.