public static final class TagsUpdate.Builder extends Object
public final TagsUpdate.Builder using(TagsUpdate instance)
TagsUpdate
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final TagsUpdate.Builder addTagInsertion(String element)
tagInsertions
set.element
- A tagInsertions elementthis
builder for use in a chained invocationpublic final TagsUpdate.Builder addTagInsertion(String... elements)
tagInsertions
set.elements
- An array of tagInsertions elementsthis
builder for use in a chained invocationpublic final TagsUpdate.Builder tagInsertions(Iterable<String> elements)
tagInsertions
set.elements
- An iterable of tagInsertions elementsthis
builder for use in a chained invocationpublic final TagsUpdate.Builder addAllTagInsertions(Iterable<String> elements)
tagInsertions
set.elements
- An iterable of tagInsertions elementsthis
builder for use in a chained invocationpublic final TagsUpdate.Builder addTagRemoval(String element)
tagRemovals
set.element
- A tagRemovals elementthis
builder for use in a chained invocationpublic final TagsUpdate.Builder addTagRemoval(String... elements)
tagRemovals
set.elements
- An array of tagRemovals elementsthis
builder for use in a chained invocationpublic final TagsUpdate.Builder tagRemovals(Iterable<String> elements)
tagRemovals
set.elements
- An iterable of tagRemovals elementsthis
builder for use in a chained invocationpublic final TagsUpdate.Builder addAllTagRemovals(Iterable<String> elements)
tagRemovals
set.elements
- An iterable of tagRemovals elementsthis
builder for use in a chained invocationpublic TagsUpdate build()
TagsUpdate
.IllegalStateException
- if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.