public static final class LookupUserIdsResponse.Builder extends Object
LookupUserIdsResponse.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final LookupUserIdsResponse.Builder from(LookupUserIdsResponse instance)
LookupUserIdsResponse 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 LookupUserIdsResponse.Builder itemsPerPage(Integer itemsPerPage)
itemsPerPage attribute.itemsPerPage - The value for itemsPerPagethis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder resource(UserId element)
resources list.element - A resources elementthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder resources(UserId... elements)
resources list.elements - An array of resources elementsthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder resources(Iterable<? extends UserId> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder addAllResources(Iterable<? extends UserId> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder schema(String element)
schemas list.element - A schemas elementthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder schemas(String... elements)
schemas list.elements - An array of schemas elementsthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder schemas(Iterable<String> elements)
schemas list.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder addAllSchemas(Iterable<String> elements)
schemas list.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder startIndex(Integer startIndex)
startIndex attribute.startIndex - The value for startIndexthis builder for use in a chained invocationpublic final LookupUserIdsResponse.Builder totalResults(Integer totalResults)
totalResults attribute.totalResults - The value for totalResultsthis builder for use in a chained invocationpublic LookupUserIdsResponse build()
LookupUserIdsResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.