Class ImmutableSSOUserCreateRequest.Builder

java.lang.Object
com.iland.core.web.rest.request.user.ImmutableSSOUserCreateRequest.Builder
Enclosing class:
ImmutableSSOUserCreateRequest

@Generated(from="SSOUserCreateRequest", generator="Immutables") @NotThreadSafe public static final class ImmutableSSOUserCreateRequest.Builder extends Object
Builds instances of type 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.

  • Method Details

    • from

      @CanIgnoreReturnValue public final ImmutableSSOUserCreateRequest.Builder from(SSOUserCreateRequest instance)
      Fill a builder with attribute values from the provided SSOUserCreateRequest instance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • email

      @CanIgnoreReturnValue public final ImmutableSSOUserCreateRequest.Builder email(String email)
      Initializes the value for the email attribute.
      Parameters:
      email - The value for email
      Returns:
      this builder for use in a chained invocation
    • domain

      @CanIgnoreReturnValue public final ImmutableSSOUserCreateRequest.Builder domain(String domain)
      Initializes the value for the domain attribute.
      Parameters:
      domain - The value for domain
      Returns:
      this builder for use in a chained invocation
    • fullname

      @CanIgnoreReturnValue public final ImmutableSSOUserCreateRequest.Builder fullname(String fullname)
      Initializes the value for the fullname attribute.
      Parameters:
      fullname - The value for fullname
      Returns:
      this builder for use in a chained invocation
    • roleUuid

      @CanIgnoreReturnValue public final ImmutableSSOUserCreateRequest.Builder roleUuid(String roleUuid)
      Initializes the optional value roleUuid to roleUuid.
      Parameters:
      roleUuid - The value for roleUuid
      Returns:
      this builder for chained invocation
    • roleUuid

      @CanIgnoreReturnValue public final ImmutableSSOUserCreateRequest.Builder roleUuid(Optional<String> roleUuid)
      Initializes the optional value roleUuid to roleUuid.
      Parameters:
      roleUuid - The value for roleUuid
      Returns:
      this builder for use in a chained invocation
    • sendInvitation

      @CanIgnoreReturnValue public final ImmutableSSOUserCreateRequest.Builder sendInvitation(boolean sendInvitation)
      Initializes the value for the sendInvitation attribute.
      Parameters:
      sendInvitation - The value for sendInvitation
      Returns:
      this builder for use in a chained invocation
    • build

      Returns:
      An immutable instance of SSOUserCreateRequest
      Throws:
      IllegalStateException - if any required attributes are missing