public static class TopicDTO.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
TopicDTO |
build() |
TopicDTO.Builder |
withAudit(AuditDTO audit)
Sets the audit information for the topic.
|
TopicDTO.Builder |
withComment(java.lang.String comment)
Sets the comment associated with the topic.
|
TopicDTO.Builder |
withName(java.lang.String name)
Sets the name of the topic.
|
TopicDTO.Builder |
withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the properties associated with the topic.
|
public TopicDTO.Builder withName(java.lang.String name)
name
- The name of the topic.public TopicDTO.Builder withComment(java.lang.String comment)
comment
- The comment associated with the topic.public TopicDTO.Builder withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- The properties associated with the topic.public TopicDTO.Builder withAudit(AuditDTO audit)
audit
- The audit information for the topic.public TopicDTO build()