public EndpointAddressArgs build() {
            if ($.ip == null) {
                throw new MissingRequiredPropertyException("EndpointAddressArgs", "ip");
            }
            return $;
        }
@param targetRef Reference to object providing the endpoint.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/EndpointAddressArgs.java