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