public ContainerResourceMetricSourceArgs build() {
            if ($.container == null) {
                throw new MissingRequiredPropertyException("ContainerResourceMetricSourceArgs", "container");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ContainerResourceMetricSourceArgs", "name");
            }
            if ($.target == null) {
                throw new MissingRequiredPropertyException("ContainerResourceMetricSourceArgs", "target");
            }
            return $;
        }
@param target target specifies the target value for the given metric

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