public AwsEc2LaunchTemplateDataInstanceRequirementsDetails withAcceleratorTypes(java.util.Collection<String> acceleratorTypes) {
        setAcceleratorTypes(acceleratorTypes);
        return this;
    }
<p>
The accelerator types that must be on the instance type.
</p>

@param acceleratorTypes
       The accelerator types that must be on the instance type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2LaunchTemplateDataInstanceRequirementsDetails.java