public Optional<Output<MetricIdentifierPatchArgs>> metric() {
        return Optional.ofNullable(this.metric);
    }
@return metric identifies the target metric by name and selector
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2beta2/inputs/ExternalMetricSourcePatchArgs.java