@NotThreadSafe public static final class ImmutableSSOUserCreateRequestSet.Builder extends Object
ImmutableSSOUserCreateRequestSet.
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 |
|---|---|
ImmutableSSOUserCreateRequestSet.Builder |
addAllUsers(Iterable<? extends SSOUserCreateRequest> elements)
Adds elements to
users set. |
ImmutableSSOUserCreateRequestSet.Builder |
addUsers(SSOUserCreateRequest... elements)
Adds elements to
users set. |
ImmutableSSOUserCreateRequestSet.Builder |
addUsers(SSOUserCreateRequest element)
Adds one element to
users set. |
ImmutableSSOUserCreateRequestSet |
build()
Builds a new
ImmutableSSOUserCreateRequestSet. |
ImmutableSSOUserCreateRequestSet.Builder |
from(SSOUserCreateRequestSet instance)
Fill a builder with attribute values from the provided
SSOUserCreateRequestSet instance. |
ImmutableSSOUserCreateRequestSet.Builder |
users(Iterable<? extends SSOUserCreateRequest> elements)
Sets or replaces all elements for
users set. |
public final ImmutableSSOUserCreateRequestSet.Builder from(SSOUserCreateRequestSet instance)
SSOUserCreateRequestSet 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 ImmutableSSOUserCreateRequestSet.Builder addUsers(SSOUserCreateRequest element)
users set.element - A users elementthis builder for use in a chained invocationpublic final ImmutableSSOUserCreateRequestSet.Builder addUsers(SSOUserCreateRequest... elements)
users set.elements - An array of users elementsthis builder for use in a chained invocationpublic final ImmutableSSOUserCreateRequestSet.Builder users(Iterable<? extends SSOUserCreateRequest> elements)
users set.elements - An iterable of users elementsthis builder for use in a chained invocationpublic final ImmutableSSOUserCreateRequestSet.Builder addAllUsers(Iterable<? extends SSOUserCreateRequest> elements)
users set.elements - An iterable of users elementsthis builder for use in a chained invocationpublic ImmutableSSOUserCreateRequestSet build()
ImmutableSSOUserCreateRequestSet.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.