public Optional<Output<ObjectMetricSourceArgs>> object() {
        return Optional.ofNullable(this.object);
    }
@return object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/inputs/MetricSpecArgs.java