T
- Type of builder that extends thisprotected abstract static class CommonDTO.Builder<T extends CommonDTO.Builder> extends BaseDTO.Builder<T>
Modifier | Constructor and Description |
---|---|
protected |
Builder(java.lang.String name,
java.lang.String user,
java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
T |
withDescription(java.lang.String description)
Set the description for the resource.
|
T |
withTags(java.util.Set<java.lang.String> tags)
Set the tags to use for the resource.
|
withCreated, withId, withUpdated
protected Builder(java.lang.String name, java.lang.String user, java.lang.String version)
public T withDescription(java.lang.String description)
description
- The description to usepublic T withTags(java.util.Set<java.lang.String> tags)
tags
- The tags to use