public Builder spec(@Nullable Output<APIServiceSpecArgs> spec) {
            $.spec = spec;
            return this;
        }
@param spec Spec contains information for locating and communicating with a server

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apiregistration/v1beta1/APIServiceArgs.java