public void setRequiresCompatibilities(java.util.Collection<String> requiresCompatibilities) {
        if (requiresCompatibilities == null) {
            this.requiresCompatibilities = null;
            return;
        }

        this.requiresCompatibilities = new java.util.ArrayList<String>(requiresCompatibilities);
    }
<p>
The task launch types that the task definition was validated against.
</p>

@param requiresCompatibilities
       The task launch types that the task definition was validated against.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionDetails.java