Class Namespace.Builder

  • Enclosing class:
    Namespace

    public static class Namespace.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public Namespace.Builder key​(String key)
        Unique namespace key that is immutable.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • displayName

        public Namespace.Builder displayName​(String displayName)
        Name of the Namespace
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public Namespace.Builder description​(String description)
        Description for the namespace
        Parameters:
        description - the value to set
        Returns:
        this builder
      • isServiceDefined

        public Namespace.Builder isServiceDefined​(Boolean isServiceDefined)
        If this field is defined by service or by a user
        Parameters:
        isServiceDefined - the value to set
        Returns:
        this builder
      • lifecycleState

        public Namespace.Builder lifecycleState​(LifecycleState lifecycleState)
        The current state of the namespace.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public Namespace.Builder timeCreated​(Date timeCreated)
        The date and time the namespace was created, in the format defined by RFC3339.

        Example: 2019-03-25T21:10:29.600Z

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

        public Namespace.Builder timeUpdated​(Date timeUpdated)
        The last time that any change was made to the namespace.

        An RFC3339 formatted datetime string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • createdById

        public Namespace.Builder createdById​(String createdById)
        OCID of the user who created the namespace.
        Parameters:
        createdById - the value to set
        Returns:
        this builder
      • updatedById

        public Namespace.Builder updatedById​(String updatedById)
        OCID of the user who last modified the namespace.
        Parameters:
        updatedById - the value to set
        Returns:
        this builder