Class UIPassword.Builder

  • Enclosing class:
    UIPassword

    public static class UIPassword.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • password

        public UIPassword.Builder password​(String password)
        The user’s password for the Console.
        Parameters:
        password - the value to set
        Returns:
        this builder
      • userId

        public UIPassword.Builder userId​(String userId)
        The OCID of the user.
        Parameters:
        userId - the value to set
        Returns:
        this builder
      • timeCreated

        public UIPassword.Builder timeCreated​(Date timeCreated)
        Date and time the password was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • lifecycleState

        public UIPassword.Builder lifecycleState​(UIPassword.LifecycleState lifecycleState)
        The password’s current state.

        After creating a password, make sure its lifecycleState changes from CREATING to ACTIVE before using it.

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • inactiveStatus

        public UIPassword.Builder inactiveStatus​(Long inactiveStatus)
        The detailed status of INACTIVE lifecycleState.
        Parameters:
        inactiveStatus - the value to set
        Returns:
        this builder