public EndpointArgs build() {
            if ($.addresses == null) {
                throw new MissingRequiredPropertyException("EndpointArgs", "addresses");
            }
            return $;
        }
@param zone zone is the name of the Zone this endpoint exists in.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1/inputs/EndpointArgs.java