public static final class PubSubJsonServerEndpointsMessage.Builder extends Object
PubSubJsonServerEndpointsMessage.| Modifier and Type | Field and Description |
|---|---|
protected List<EndpointDescription> |
endpoints |
protected String |
messageId |
protected PublisherId |
publisherId |
protected DateTime |
timestamp |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PubSubJsonServerEndpointsMessage.Builder |
addEndpoints(EndpointDescription endpoints)
Adds the value as an element for
PubSubJsonServerEndpointsMessage.getEndpoints(). |
PubSubJsonServerEndpointsMessage |
build()
Returns an instance of
PubSubJsonServerEndpointsMessage with the values given to this builder. |
List<EndpointDescription> |
getEndpoints() |
String |
getMessageId() |
PublisherId |
getPublisherId() |
DateTime |
getTimestamp() |
PubSubJsonServerEndpointsMessage.Builder |
setMessageId(String messageId)
Set the value for
PubSubJsonServerEndpointsMessage.getMessageId(). |
PubSubJsonServerEndpointsMessage.Builder |
setPublisherId(PublisherId publisherId)
Set the value for
PubSubJsonServerEndpointsMessage.getPublisherId(). |
PubSubJsonServerEndpointsMessage.Builder |
setTimestamp(DateTime timestamp)
Set the value for
PubSubJsonServerEndpointsMessage.getTimestamp(). |
protected List<EndpointDescription> endpoints
protected String messageId
protected PublisherId publisherId
protected DateTime timestamp
public List<EndpointDescription> getEndpoints()
public String getMessageId()
public PublisherId getPublisherId()
public DateTime getTimestamp()
public PubSubJsonServerEndpointsMessage.Builder addEndpoints(EndpointDescription endpoints)
PubSubJsonServerEndpointsMessage.getEndpoints(). Returns itself for method chaining.public PubSubJsonServerEndpointsMessage.Builder setMessageId(String messageId)
PubSubJsonServerEndpointsMessage.getMessageId(). Returns itself for method chaining.public PubSubJsonServerEndpointsMessage.Builder setPublisherId(PublisherId publisherId)
PubSubJsonServerEndpointsMessage.getPublisherId(). Returns itself for method chaining.public PubSubJsonServerEndpointsMessage.Builder setTimestamp(DateTime timestamp)
PubSubJsonServerEndpointsMessage.getTimestamp(). Returns itself for method chaining.public PubSubJsonServerEndpointsMessage build()
PubSubJsonServerEndpointsMessage with the values given to this builder.Copyright © 2026. All rights reserved.