public Optional<Output<String>> type() {
        return Optional.ofNullable(this.type);
    }
@return type represents whether the metric type is Utilization, Value, or AverageValue
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/inputs/MetricTargetPatchArgs.java