@NotThreadSafe public static final class ImmutableScimSearchRequest.Builder extends Object
ImmutableScimSearchRequest.
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 ImmutableScimSearchRequest.Builder from(ScimSearchRequest instance)
ScimSearchRequest 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 ImmutableScimSearchRequest.Builder addSchemas(String element)
schemas list.element - A schemas elementthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder addSchemas(String... elements)
schemas list.elements - An array of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder withSchemas(Iterable<String> elements)
schemas list.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder addAllSchemas(Iterable<String> elements)
schemas list.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder addAttributes(String element)
attributes list.element - A attributes elementthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder addAttributes(String... elements)
attributes list.elements - An array of attributes elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder withAttributes(@Nullable Iterable<String> elements)
attributes list.elements - An iterable of attributes elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder addAllAttributes(Iterable<String> elements)
attributes list.elements - An iterable of attributes elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder addExcludedAttributes(String element)
excludedAttributes list.element - A excludedAttributes elementthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder addExcludedAttributes(String... elements)
excludedAttributes list.elements - An array of excludedAttributes elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder withExcludedAttributes(@Nullable Iterable<String> elements)
excludedAttributes list.elements - An iterable of excludedAttributes elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder addAllExcludedAttributes(Iterable<String> elements)
excludedAttributes list.elements - An iterable of excludedAttributes elementsthis builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder withFilter(@Nullable String filter)
filter attribute.filter - The value for filter (can be null)this builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder withSortBy(@Nullable String sortBy)
sortBy attribute.sortBy - The value for sortBy (can be null)this builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder withSortOrder(@Nullable ScimSortOrder sortOrder)
sortOrder attribute.sortOrder - The value for sortOrder (can be null)this builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder withStartIndex(@Nullable Integer startIndex)
startIndex attribute.startIndex - The value for startIndex (can be null)this builder for use in a chained invocationpublic final ImmutableScimSearchRequest.Builder withCount(@Nullable Integer count)
count attribute.count - The value for count (can be null)this builder for use in a chained invocationpublic ImmutableScimSearchRequest build()
ImmutableScimSearchRequest.IllegalStateException - if any required attributes are missingCopyright © 2016 Atlassian. All rights reserved.