@NotThreadSafe public static final class ImmutableSSOUserCreateRequest.Builder extends Object
ImmutableSSOUserCreateRequest.
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 |
|---|---|
ImmutableSSOUserCreateRequest |
build()
Builds a new
ImmutableSSOUserCreateRequest. |
ImmutableSSOUserCreateRequest.Builder |
domain(String domain)
Initializes the value for the
domain attribute. |
ImmutableSSOUserCreateRequest.Builder |
email(String email)
Initializes the value for the
email attribute. |
ImmutableSSOUserCreateRequest.Builder |
from(SSOUserCreateRequest instance)
Fill a builder with attribute values from the provided
SSOUserCreateRequest instance. |
ImmutableSSOUserCreateRequest.Builder |
fullname(String fullname)
Initializes the value for the
fullname attribute. |
ImmutableSSOUserCreateRequest.Builder |
roleUuid(Optional<String> roleUuid)
Initializes the optional value
roleUuid to roleUuid. |
ImmutableSSOUserCreateRequest.Builder |
roleUuid(String roleUuid)
Initializes the optional value
roleUuid to roleUuid. |
ImmutableSSOUserCreateRequest.Builder |
sendInvitation(boolean sendInvitation)
Initializes the value for the
sendInvitation attribute. |
public final ImmutableSSOUserCreateRequest.Builder from(SSOUserCreateRequest instance)
SSOUserCreateRequest 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 ImmutableSSOUserCreateRequest.Builder email(String email)
email attribute.email - The value for emailthis builder for use in a chained invocationpublic final ImmutableSSOUserCreateRequest.Builder domain(String domain)
domain attribute.domain - The value for domainthis builder for use in a chained invocationpublic final ImmutableSSOUserCreateRequest.Builder fullname(String fullname)
fullname attribute.fullname - The value for fullnamethis builder for use in a chained invocationpublic final ImmutableSSOUserCreateRequest.Builder roleUuid(String roleUuid)
roleUuid to roleUuid.roleUuid - The value for roleUuidthis builder for chained invocationpublic final ImmutableSSOUserCreateRequest.Builder roleUuid(Optional<String> roleUuid)
roleUuid to roleUuid.roleUuid - The value for roleUuidthis builder for use in a chained invocationpublic final ImmutableSSOUserCreateRequest.Builder sendInvitation(boolean sendInvitation)
sendInvitation attribute.sendInvitation - The value for sendInvitationthis builder for use in a chained invocationpublic ImmutableSSOUserCreateRequest build()
ImmutableSSOUserCreateRequest.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.