public CounterSetArgs build() {
            if ($.counters == null) {
                throw new MissingRequiredPropertyException("CounterSetArgs", "counters");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("CounterSetArgs", "name");
            }
            return $;
        }
@param name Name defines the name of the counter set. It must be a DNS label.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta2/inputs/CounterSetArgs.java