Class Workspace.Builder

  • Enclosing class:
    Workspace

    public static class Workspace.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • vcnId

        public Workspace.Builder vcnId​(String vcnId)
        The OCID of the VCN the subnet is in.
        Parameters:
        vcnId - the value to set
        Returns:
        this builder
      • subnetId

        public Workspace.Builder subnetId​(String subnetId)
        The OCID of the subnet for customer connected databases.
        Parameters:
        subnetId - the value to set
        Returns:
        this builder
      • dnsServerIp

        public Workspace.Builder dnsServerIp​(String dnsServerIp)
        The IP of the custom DNS.
        Parameters:
        dnsServerIp - the value to set
        Returns:
        this builder
      • dnsServerZone

        public Workspace.Builder dnsServerZone​(String dnsServerZone)
        The DNS zone of the custom DNS to use to resolve names.
        Parameters:
        dnsServerZone - the value to set
        Returns:
        this builder
      • isPrivateNetworkEnabled

        public Workspace.Builder isPrivateNetworkEnabled​(Boolean isPrivateNetworkEnabled)
        Specifies whether the private network connection is enabled or disabled.
        Parameters:
        isPrivateNetworkEnabled - the value to set
        Returns:
        this builder
      • freeformTags

        public Workspace.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. See Resource Tags. Example: {“Department”: “Finance”}

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

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

        Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

        public Workspace.Builder description​(String description)
        A detailed description for the workspace.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • displayName

        public Workspace.Builder displayName​(String displayName)
        A user-friendly display name for the workspace.

        Does not have to be unique, and can be modified. Avoid entering confidential information.

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

        public Workspace.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the workspace.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeCreated

        public Workspace.Builder timeCreated​(Date timeCreated)
        The date and time the workspace was created, in the timestamp format defined by RFC3339.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public Workspace.Builder timeUpdated​(Date timeUpdated)
        The date and time the workspace was updated, in the timestamp format defined by RFC3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleState

        public Workspace.Builder lifecycleState​(Workspace.LifecycleState lifecycleState)
        Lifecycle states for workspaces in Data Integration Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children.

        ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn’t available FAILED - The resource is in a failed state due to validation or other errors STARTING - The resource is being started and may not be usable until becomes ACTIVE again STOPPING - The resource is in the process of Stopping and may not be usable until it Stops or fails STOPPED - The resource is in Stopped state due to stop operation.

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

        public Workspace.Builder stateMessage​(String stateMessage)
        A 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
      • id

        public Workspace.Builder id​(String id)
        A system-generated and immutable identifier assigned to the workspace upon creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • endpointId

        public Workspace.Builder endpointId​(String endpointId)
        OCID of the private endpoint associated with the container/workspace.
        Parameters:
        endpointId - the value to set
        Returns:
        this builder
      • endpointName

        public Workspace.Builder endpointName​(String endpointName)
        Name of the private endpoint associated with the container/workspace.
        Parameters:
        endpointName - the value to set
        Returns:
        this builder
      • registryId

        public Workspace.Builder registryId​(String registryId)
        DCMS Registry ID associated with the container/workspace.
        Parameters:
        registryId - the value to set
        Returns:
        this builder
      • workspaceProperties

        public Workspace.Builder workspaceProperties​(Map<String,​String> workspaceProperties)
        key-value pairs of workspace properties
        Parameters:
        workspaceProperties - the value to set
        Returns:
        this builder