public static class TagDTO.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
TagDTO |
build() |
TagDTO.Builder |
withAudit(AuditDTO audit)
Sets the audit information for the tag.
|
TagDTO.Builder |
withComment(java.lang.String comment)
Sets the comment associated with the tag.
|
TagDTO.Builder |
withInherited(java.util.Optional<java.lang.Boolean> inherited)
Sets whether the tag is inherited.
|
TagDTO.Builder |
withName(java.lang.String name)
Sets the name of the tag.
|
TagDTO.Builder |
withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the properties associated with the tag.
|
public TagDTO.Builder withName(java.lang.String name)
name - The name of the tag.public TagDTO.Builder withComment(java.lang.String comment)
comment - The comment associated with the tag.public TagDTO.Builder withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties - The properties associated with the tag.public TagDTO.Builder withAudit(AuditDTO audit)
audit - The audit information for the tag.public TagDTO.Builder withInherited(java.util.Optional<java.lang.Boolean> inherited)
inherited - Whether the tag is inherited.public TagDTO build()