public static class Endpoint.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Construct the builder
|
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
build()
Build the Endpoint instance.
|
Endpoint.Builder |
endpoint(Endpoint endpoint)
Copy the Endpoint, replacing all existing endpoint information.
|
Endpoint.Builder |
metadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Set the metadata for the Endpoint, replacing any metadata already set.
|
Endpoint.Builder |
name(java.lang.String name)
Set the name for the Endpoint, replacing any name already set.
|
Endpoint.Builder |
queueGroup(java.lang.String queueGroup)
Set the queueGroup for the Endpoint, overriding the system default queue group
|
Endpoint.Builder |
subject(java.lang.String subject)
Set the subject for the Endpoint, replacing any subject already set.
|
public Endpoint.Builder endpoint(Endpoint endpoint)
endpoint - the endpoint to copypublic Endpoint.Builder name(java.lang.String name)
name - the endpoint namepublic Endpoint.Builder queueGroup(java.lang.String queueGroup)
queueGroup - the queueGrouppublic Endpoint.Builder subject(java.lang.String subject)
subject - the subjectpublic Endpoint.Builder metadata(java.util.Map<java.lang.String,java.lang.String> metadata)
metadata - the metadatapublic Endpoint build()