public Builder type(String type) {
            return type(Output.of(type));
        }
@param type type is the type of metric source.  It should be one of &#34;ContainerResource&#34;, &#34;External&#34;, &#34;Object&#34;, &#34;Pods&#34; or &#34;Resource&#34;, each mapping to a matching field in the object.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/inputs/MetricSpecPatchArgs.java