Class Stack.Builder

  • Enclosing class:
    Stack

    public static class Stack.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Stack.Builder id​(String id)
        The OCID of the Stack.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public Stack.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public Stack.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • notificationEmail

        public Stack.Builder notificationEmail​(String notificationEmail)
        email id to which the stack notifications would be sent.
        Parameters:
        notificationEmail - the value to set
        Returns:
        this builder
      • stackTemplates

        public Stack.Builder stackTemplates​(List<StackTemplate> stackTemplates)
        List of templates to be onboarded for the stack.
        Parameters:
        stackTemplates - the value to set
        Returns:
        this builder
      • services

        public Stack.Builder services​(List<Service> services)
        List of services to be onboarded for the stack.
        Parameters:
        services - the value to set
        Returns:
        this builder
      • adb

        public Stack.Builder adb​(List<AdbDetail> adb)
        ADB details if adb is included in the services.
        Parameters:
        adb - the value to set
        Returns:
        this builder
      • ggcs

        public Stack.Builder ggcs​(List<GgcsDetail> ggcs)
        GGCS details if ggcs is included in the services.
        Parameters:
        ggcs - the value to set
        Returns:
        this builder
      • dataflow

        public Stack.Builder dataflow​(List<DataflowDetail> dataflow)
        DATAFLOW details if dataflow is included in the services.
        Parameters:
        dataflow - the value to set
        Returns:
        this builder
      • objectstorage

        public Stack.Builder objectstorage​(List<ObjectStorageDetail> objectstorage)
        Object Storage Details if object storage is included in services.
        Parameters:
        objectstorage - the value to set
        Returns:
        this builder
      • genai

        public Stack.Builder genai​(List<GenAiDetail> genai)
        GenAI Details if genai is included in services.
        Parameters:
        genai - the value to set
        Returns:
        this builder
      • serviceDetails

        public Stack.Builder serviceDetails​(List<ServiceDetailResponse> serviceDetails)
        Details of the service onboarded for the data intelligence stack.
        Parameters:
        serviceDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public Stack.Builder timeCreated​(Date timeCreated)
        The date and time the Stack was created, in the format defined by RFC 3339.

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

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

        public Stack.Builder timeUpdated​(Date timeUpdated)
        The date and time the Stack was updated, in the format defined by RFC 3339.

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

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

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

        public Stack.Builder lifecycleDetails​(String lifecycleDetails)
        A message that describes the current state of the Stack in more detail.

        For example, can be used to provide actionable information for a resource in the Failed state.

        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public Stack.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public Stack.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public Stack.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace.

        Example: {"orcl-cloud": {"free-tier-retained": "true"}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder
      • build

        public Stack build()