public AwsEcsTaskDefinitionDetails withRequiresCompatibilities(java.util.Collection<String> requiresCompatibilities) {
        setRequiresCompatibilities(requiresCompatibilities);
        return this;
    }
<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.
@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/AwsEcsTaskDefinitionDetails.java