Class UserUpdateParameters


  • public final class UserUpdateParameters
    extends Object
    User update parameters.
    • Constructor Detail

      • UserUpdateParameters

        public UserUpdateParameters()
    • Method Detail

      • email

        public String email()
        Get the email property: Email address. Must not be empty and must be unique within the service instance.
        Returns:
        the email value.
      • withEmail

        public UserUpdateParameters withEmail​(String email)
        Set the email property: Email address. Must not be empty and must be unique within the service instance.
        Parameters:
        email - the email value to set.
        Returns:
        the UserUpdateParameters object itself.
      • password

        public String password()
        Get the password property: User Password.
        Returns:
        the password value.
      • withPassword

        public UserUpdateParameters withPassword​(String password)
        Set the password property: User Password.
        Parameters:
        password - the password value to set.
        Returns:
        the UserUpdateParameters object itself.
      • firstName

        public String firstName()
        Get the firstName property: First name.
        Returns:
        the firstName value.
      • withFirstName

        public UserUpdateParameters withFirstName​(String firstName)
        Set the firstName property: First name.
        Parameters:
        firstName - the firstName value to set.
        Returns:
        the UserUpdateParameters object itself.
      • lastName

        public String lastName()
        Get the lastName property: Last name.
        Returns:
        the lastName value.
      • withLastName

        public UserUpdateParameters withLastName​(String lastName)
        Set the lastName property: Last name.
        Parameters:
        lastName - the lastName value to set.
        Returns:
        the UserUpdateParameters object itself.
      • state

        public UserState state()
        Get the state property: Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active.
        Returns:
        the state value.
      • withState

        public UserUpdateParameters withState​(UserState state)
        Set the state property: Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active.
        Parameters:
        state - the state value to set.
        Returns:
        the UserUpdateParameters object itself.
      • note

        public String note()
        Get the note property: Optional note about a user set by the administrator.
        Returns:
        the note value.
      • withNote

        public UserUpdateParameters withNote​(String note)
        Set the note property: Optional note about a user set by the administrator.
        Parameters:
        note - the note value to set.
        Returns:
        the UserUpdateParameters object itself.
      • identities

        public List<UserIdentityContractInner> identities()
        Get the identities property: Collection of user identities.
        Returns:
        the identities value.
      • withIdentities

        public UserUpdateParameters withIdentities​(List<UserIdentityContractInner> identities)
        Set the identities property: Collection of user identities.
        Parameters:
        identities - the identities value to set.
        Returns:
        the UserUpdateParameters object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.