Class PolicyConnectionOption.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • connectionType

        public PolicyConnectionOption.Builder connectionType​(PolicyConnectionOption.ConnectionType connectionType)
        The connection type used to connect to the database.

        Allowed values: - PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe. - ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.

        Parameters:
        connectionType - the value to set
        Returns:
        this builder
      • identifiers

        public PolicyConnectionOption.Builder identifiers​(List<String> identifiers)
        List of OCIDs required to establish the connection.
        • For PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
        Parameters:
        identifiers - the value to set
        Returns:
        this builder