public static class InboundsFilter.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
InboundsFilter.Builder |
addAllRecipients(Iterable<String> elements)
Adds elements to
recipients set. |
InboundsFilter.Builder |
addRecipient(String... elements)
Adds elements to
recipients set. |
InboundsFilter.Builder |
addRecipient(String element)
Adds one element to
recipients set. |
InboundsFilter |
build()
Builds a new
InboundsFilter. |
InboundsFilter.Builder |
endDate(LocalDate endDate)
Initializes the value for the
endDate attribute. |
InboundsFilter.Builder |
pageSize(int pageSize)
Initializes the value for the
pageSize attribute. |
InboundsFilter.Builder |
recipients(Iterable<String> elements)
Sets or replaces all elements for
recipients set. |
InboundsFilter.Builder |
startDate(LocalDate startDate)
Initializes the value for the
startDate attribute. |
InboundsFilter.Builder |
using(InboundsFilter instance)
Fill a builder with attribute values from the provided
InboundsFilter instance. |
public final InboundsFilter.Builder using(InboundsFilter instance)
InboundsFilter 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 InboundsFilter.Builder pageSize(int pageSize)
pageSize attribute.
If not set, this attribute will have a default value as returned by the initializer of pageSize.
pageSize - The value for pageSizethis builder for use in a chained invocationpublic final InboundsFilter.Builder startDate(@Nullable LocalDate startDate)
startDate attribute.startDate - The value for startDate (can be null)this builder for use in a chained invocationpublic final InboundsFilter.Builder endDate(@Nullable LocalDate endDate)
endDate attribute.endDate - The value for endDate (can be null)this builder for use in a chained invocationpublic final InboundsFilter.Builder addRecipient(String element)
recipients set.element - A recipients elementthis builder for use in a chained invocationpublic final InboundsFilter.Builder addRecipient(String... elements)
recipients set.elements - An array of recipients elementsthis builder for use in a chained invocationpublic final InboundsFilter.Builder recipients(Iterable<String> elements)
recipients set.elements - An iterable of recipients elementsthis builder for use in a chained invocationpublic final InboundsFilter.Builder addAllRecipients(Iterable<String> elements)
recipients set.elements - An iterable of recipients elementsthis builder for use in a chained invocationpublic InboundsFilter build()
InboundsFilter.IllegalStateException - if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.