Class VbInstance.Builder

  • Enclosing class:
    VbInstance

    public static class VbInstance.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public VbInstance.Builder id​(String id)
        Unique identifier that is immutable on creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public VbInstance.Builder displayName​(String displayName)
        Vb Instance Identifier, can be renamed.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public VbInstance.Builder compartmentId​(String compartmentId)
        Compartment Identifier.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeCreated

        public VbInstance.Builder timeCreated​(Date timeCreated)
        The time the the VbInstance was created.

        An RFC3339 formatted datetime string.

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

        public VbInstance.Builder timeUpdated​(Date timeUpdated)
        The time the VbInstance was updated.

        An RFC3339 formatted datetime string.

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

        public VbInstance.Builder stateMessage​(String stateMessage)
        An message describing the current state in more detail.

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

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

        public VbInstance.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

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

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

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

        public VbInstance.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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

        public VbInstance.Builder instanceUrl​(String instanceUrl)
        The Vb Instance URL.
        Parameters:
        instanceUrl - the value to set
        Returns:
        this builder
      • nodeCount

        public VbInstance.Builder nodeCount​(Integer nodeCount)
        The number of Nodes
        Parameters:
        nodeCount - the value to set
        Returns:
        this builder
      • isVisualBuilderEnabled

        public VbInstance.Builder isVisualBuilderEnabled​(Boolean isVisualBuilderEnabled)
        Visual Builder is enabled or not.
        Parameters:
        isVisualBuilderEnabled - the value to set
        Returns:
        this builder
      • alternateCustomEndpoints

        public VbInstance.Builder alternateCustomEndpoints​(List<CustomEndpointDetails> alternateCustomEndpoints)
        A list of alternate custom endpoints used for the vb instance URL.
        Parameters:
        alternateCustomEndpoints - the value to set
        Returns:
        this builder
      • consumptionModel

        public VbInstance.Builder consumptionModel​(VbInstance.ConsumptionModel consumptionModel)
        The entitlement used for billing purposes.
        Parameters:
        consumptionModel - the value to set
        Returns:
        this builder
      • serviceNatGatewayIp

        public VbInstance.Builder serviceNatGatewayIp​(String serviceNatGatewayIp)
        The NAT gateway IP address for the VB service VCN
        Parameters:
        serviceNatGatewayIp - the value to set
        Returns:
        this builder
      • managementNatGatewayIp

        public VbInstance.Builder managementNatGatewayIp​(String managementNatGatewayIp)
        The NAT gateway IP address for the VB management VCN
        Parameters:
        managementNatGatewayIp - the value to set
        Returns:
        this builder
      • serviceVcnId

        public VbInstance.Builder serviceVcnId​(String serviceVcnId)
        The Oracle Cloud ID (OCID) of the Visual Builder service VCN
        Parameters:
        serviceVcnId - the value to set
        Returns:
        this builder
      • managementVcnId

        public VbInstance.Builder managementVcnId​(String managementVcnId)
        The Oracle Cloud ID (OCID) of the Visual Builder management VCN
        Parameters:
        managementVcnId - the value to set
        Returns:
        this builder