public Builder targetRef(ObjectReferenceArgs targetRef) {
            return targetRef(Output.of(targetRef));
        }
@param targetRef Reference to object providing the endpoint.

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