public static final class ListClientsResponse.Builder extends Object
ListClientsResponse.
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 ListClientsResponse.Builder from(ListClientsResponse instance)
ListClientsResponse 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 ListClientsResponse.Builder itemsPerPage(Integer itemsPerPage)
itemsPerPage attribute.itemsPerPage - The value for itemsPerPagethis builder for use in a chained invocationpublic final ListClientsResponse.Builder resource(Client element)
resources list.element - A resources elementthis builder for use in a chained invocationpublic final ListClientsResponse.Builder resources(Client... elements)
resources list.elements - An array of resources elementsthis builder for use in a chained invocationpublic final ListClientsResponse.Builder resources(Iterable<? extends Client> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final ListClientsResponse.Builder addAllResources(Iterable<? extends Client> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final ListClientsResponse.Builder schema(String element)
schemas list.element - A schemas elementthis builder for use in a chained invocationpublic final ListClientsResponse.Builder schemas(String... elements)
schemas list.elements - An array of schemas elementsthis builder for use in a chained invocationpublic final ListClientsResponse.Builder schemas(Iterable<String> elements)
schemas list.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final ListClientsResponse.Builder addAllSchemas(Iterable<String> elements)
schemas list.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final ListClientsResponse.Builder startIndex(Integer startIndex)
startIndex attribute.startIndex - The value for startIndexthis builder for use in a chained invocationpublic final ListClientsResponse.Builder totalResults(Integer totalResults)
totalResults attribute.totalResults - The value for totalResultsthis builder for use in a chained invocationpublic ListClientsResponse build()
ListClientsResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.