@NotThreadSafe public static final class ImmutableScimPatchOp.Builder extends Object
ImmutableScimPatchOp.
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 ImmutableScimPatchOp.Builder from(ScimPatchOp instance)
ScimPatchOp 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 ImmutableScimPatchOp.Builder addSchemas(String element)
schemas set.element - A schemas elementthis builder for use in a chained invocationpublic final ImmutableScimPatchOp.Builder addSchemas(String... elements)
schemas set.elements - An array of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimPatchOp.Builder withSchemas(Iterable<String> elements)
schemas set.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimPatchOp.Builder addAllSchemas(Iterable<String> elements)
schemas set.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final ImmutableScimPatchOp.Builder addOperations(ScimOperation element)
operations list.element - A operations elementthis builder for use in a chained invocationpublic final ImmutableScimPatchOp.Builder addOperations(ScimOperation... elements)
operations list.elements - An array of operations elementsthis builder for use in a chained invocationpublic final ImmutableScimPatchOp.Builder withOperations(Iterable<? extends ScimOperation> elements)
operations list.elements - An iterable of operations elementsthis builder for use in a chained invocationpublic final ImmutableScimPatchOp.Builder addAllOperations(Iterable<? extends ScimOperation> elements)
operations list.elements - An iterable of operations elementsthis builder for use in a chained invocationpublic ImmutableScimPatchOp build()
ImmutableScimPatchOp.IllegalStateException - if any required attributes are missingCopyright © 2016 Atlassian. All rights reserved.