@NotThreadSafe public static final class ImmutableScimOperation.Builder extends Object
ImmutableScimOperation.
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.
| Modifier and Type | Method and Description |
|---|---|
ImmutableScimOperation |
build()
Builds a new
ImmutableScimOperation. |
ImmutableScimOperation.Builder |
from(ScimOperation instance)
Fill a builder with attribute values from the provided
ScimOperation instance. |
ImmutableScimOperation.Builder |
withOp(String op)
Initializes the value for the
op attribute. |
ImmutableScimOperation.Builder |
withPath(String path)
Initializes the value for the
path attribute. |
ImmutableScimOperation.Builder |
withValue(com.fasterxml.jackson.databind.JsonNode value)
Initializes the value for the
value attribute. |
public final ImmutableScimOperation.Builder from(ScimOperation instance)
ScimOperation instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableScimOperation.Builder withOp(String op)
op attribute.op - The value for opthis builder for use in a chained invocationpublic final ImmutableScimOperation.Builder withPath(@Nullable String path)
path attribute.path - The value for path (can be null)this builder for use in a chained invocationpublic final ImmutableScimOperation.Builder withValue(@Nullable com.fasterxml.jackson.databind.JsonNode value)
value attribute.value - The value for value (can be null)this builder for use in a chained invocationpublic ImmutableScimOperation build()
ImmutableScimOperation.IllegalStateException - if any required attributes are missingCopyright © 2016 Atlassian. All rights reserved.