public Builder targetRef(@Nullable Output<ObjectReferenceArgs> targetRef) {
            $.targetRef = targetRef;
            return this;
        }
@param targetRef Reference to object providing the endpoint.

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