Class Compartment.Builder

  • Enclosing class:
    Compartment

    public static class Compartment.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Compartment.Builder id​(String id)
        The id of the compartment.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public Compartment.Builder name​(String name)
        The name of the compartment.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • displayName

        public Compartment.Builder displayName​(String displayName)
        The display name of the compartment.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • fullName

        public Compartment.Builder fullName​(String fullName)
        The full name of the compartment.
        Parameters:
        fullName - the value to set
        Returns:
        this builder
      • parentCompartmentId

        public Compartment.Builder parentCompartmentId​(String parentCompartmentId)
        The id of the parent compartment.
        Parameters:
        parentCompartmentId - the value to set
        Returns:
        this builder
      • status

        public Compartment.Builder status​(EntityStatus status)
        The status of the compartment.
        Parameters:
        status - the value to set
        Returns:
        this builder
      • propertyMap

        public Compartment.Builder propertyMap​(Map<String,​String> propertyMap)
        The extended properties.
        Parameters:
        propertyMap - the value to set
        Returns:
        this builder