@NotThreadSafe public static final class ImmutableScimGroupListResponse.Builder extends Object
ImmutableScimGroupListResponse.
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 ImmutableScimGroupListResponse.Builder from(ScimGroupListResponse instance)
ScimGroupListResponse 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 ImmutableScimGroupListResponse.Builder addSchemas(String element)
schemas set.element - A schemas elementthis builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder addSchemas(String... elements)
schemas set.elements - An array of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder withSchemas(@Nullable Iterable<String> elements)
schemas set.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder addAllSchemas(Iterable<String> elements)
schemas set.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder withTotalResults(@Nullable Integer totalResults)
totalResults attribute.totalResults - The value for totalResults (can be null)this builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder withStartIndex(@Nullable Integer startIndex)
startIndex attribute.startIndex - The value for startIndex (can be null)this builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder withItemsPerPage(@Nullable Integer itemsPerPage)
itemsPerPage attribute.itemsPerPage - The value for itemsPerPage (can be null)this builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder addResources(ScimGroup element)
resources list.element - A resources elementthis builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder addResources(ScimGroup... elements)
resources list.elements - An array of resources elementsthis builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder withResources(@Nullable Iterable<? extends ScimGroup> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final ImmutableScimGroupListResponse.Builder addAllResources(Iterable<? extends ScimGroup> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic ImmutableScimGroupListResponse build()
ImmutableScimGroupListResponse.IllegalStateException - if any required attributes are missingCopyright © 2016 Atlassian. All rights reserved.