public static class PagedInboundsResult.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
PagedInboundsResult.Builder |
addAllContent(Iterable<? extends MoSms> elements)
Adds elements to
content list. |
PagedInboundsResult.Builder |
addContent(MoSms... elements)
Adds elements to
content list. |
PagedInboundsResult.Builder |
addContent(MoSms element)
Adds one element to
content list. |
PagedInboundsResult |
build()
Builds a new
PagedInboundsResult. |
PagedInboundsResult.Builder |
content(Iterable<? extends MoSms> elements)
Sets or replaces all elements for
content list. |
PagedInboundsResult.Builder |
page(int page)
Initializes the value for the
page attribute. |
PagedInboundsResult.Builder |
size(int size)
Initializes the value for the
size attribute. |
PagedInboundsResult.Builder |
totalSize(int totalSize)
Initializes the value for the
totalSize attribute. |
PagedInboundsResult.Builder |
using(PagedInboundsResult instance)
Fill a builder with attribute values from the provided
PagedInboundsResult instance. |
public final PagedInboundsResult.Builder using(PagedInboundsResult instance)
PagedInboundsResult 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 PagedInboundsResult.Builder addContent(MoSms element)
content list.element - A content elementthis builder for use in a chained invocationpublic final PagedInboundsResult.Builder addContent(MoSms... elements)
content list.elements - An array of content elementsthis builder for use in a chained invocationpublic final PagedInboundsResult.Builder content(Iterable<? extends MoSms> elements)
content list.elements - An iterable of content elementsthis builder for use in a chained invocationpublic final PagedInboundsResult.Builder addAllContent(Iterable<? extends MoSms> elements)
content list.elements - An iterable of content elementsthis builder for use in a chained invocationpublic final PagedInboundsResult.Builder page(int page)
page attribute.page - The value for pagethis builder for use in a chained invocationpublic final PagedInboundsResult.Builder size(int size)
size attribute.size - The value for sizethis builder for use in a chained invocationpublic final PagedInboundsResult.Builder totalSize(int totalSize)
totalSize attribute.totalSize - The value for totalSizethis builder for use in a chained invocationpublic PagedInboundsResult build()
PagedInboundsResult.IllegalStateException - if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.