@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableSSOUserCreateRequest extends Object implements SSOUserCreateRequest
SSOUserCreateRequest.
Use the builder to create immutable instances:
ImmutableSSOUserCreateRequest.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableSSOUserCreateRequest.Builder
Builds instances of type
ImmutableSSOUserCreateRequest. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSSOUserCreateRequest.Builder |
builder()
Creates a builder for
ImmutableSSOUserCreateRequest. |
static ImmutableSSOUserCreateRequest |
copyOf(SSOUserCreateRequest instance)
Creates an immutable copy of a
SSOUserCreateRequest value. |
String |
domain()
Domain of the user.
|
String |
email()
Email of the SSO user you want to make.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableSSOUserCreateRequest that have equal attribute values. |
String |
fullname()
Full name of the SSO user to create.
|
int |
hashCode()
Computes a hash code from attributes:
email, domain, fullname, roleUuid, sendInvitation. |
Optional<String> |
roleUuid()
Get the role the user should belong to.
|
boolean |
sendInvitation()
Whether to send an email invitation when creating a user.
|
String |
toString()
Prints the immutable value
SSOUserCreateRequest with attribute values. |
ImmutableSSOUserCreateRequest |
withDomain(String value)
Copy the current immutable object by setting a value for the
domain attribute. |
ImmutableSSOUserCreateRequest |
withEmail(String value)
Copy the current immutable object by setting a value for the
email attribute. |
ImmutableSSOUserCreateRequest |
withFullname(String value)
Copy the current immutable object by setting a value for the
fullname attribute. |
ImmutableSSOUserCreateRequest |
withRoleUuid(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
roleUuid attribute. |
ImmutableSSOUserCreateRequest |
withRoleUuid(String value)
Copy the current immutable object by setting a present value for the optional
roleUuid attribute. |
ImmutableSSOUserCreateRequest |
withSendInvitation(boolean value)
Copy the current immutable object by setting a value for the
sendInvitation attribute. |
public String email()
email in interface SSOUserCreateRequestString email of userpublic String domain()
domain in interface SSOUserCreateRequestString domainpublic String fullname()
fullname in interface SSOUserCreateRequestString full namepublic Optional<String> roleUuid()
roleUuid in interface SSOUserCreateRequestOptional of String role uuidpublic boolean sendInvitation()
sendInvitation in interface SSOUserCreateRequestpublic final ImmutableSSOUserCreateRequest withEmail(String value)
email attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for emailthis objectpublic final ImmutableSSOUserCreateRequest withDomain(String value)
domain attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for domainthis objectpublic final ImmutableSSOUserCreateRequest withFullname(String value)
fullname attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for fullnamethis objectpublic final ImmutableSSOUserCreateRequest withRoleUuid(String value)
roleUuid attribute.value - The value for roleUuidthis objectpublic final ImmutableSSOUserCreateRequest withRoleUuid(Optional<String> optional)
roleUuid attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for roleUuidthis objectpublic final ImmutableSSOUserCreateRequest withSendInvitation(boolean value)
sendInvitation attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for sendInvitationthis objectpublic boolean equals(@Nullable Object another)
ImmutableSSOUserCreateRequest that have equal attribute values.public int hashCode()
email, domain, fullname, roleUuid, sendInvitation.public String toString()
SSOUserCreateRequest with attribute values.public static ImmutableSSOUserCreateRequest copyOf(SSOUserCreateRequest instance)
SSOUserCreateRequest value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableSSOUserCreateRequest.Builder builder()
ImmutableSSOUserCreateRequest.
ImmutableSSOUserCreateRequest.builder()
.email(String) // required email
.domain(String) // required domain
.fullname(String) // required fullname
.roleUuid(String) // optional roleUuid
.sendInvitation(boolean) // required sendInvitation
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.