public void setInferenceAccelerators(java.util.Collection<AwsEcsTaskDefinitionInferenceAcceleratorsDetails> inferenceAccelerators) {
        if (inferenceAccelerators == null) {
            this.inferenceAccelerators = null;
            return;
        }

        this.inferenceAccelerators = new java.util.ArrayList<AwsEcsTaskDefinitionInferenceAcceleratorsDetails>(inferenceAccelerators);
    }
<p>
The Elastic Inference accelerators to use for the containers in the task.
</p>

@param inferenceAccelerators
       The Elastic Inference accelerators to use for the containers in the task.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionDetails.java