Class SqlCollectionSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public SqlCollectionSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the SQL collection.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public SqlCollectionSummary.Builder displayName​(String displayName)
        The display name of the SQL collection.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public SqlCollectionSummary.Builder description​(String description)
        The description of the SQL collection.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • targetId

        public SqlCollectionSummary.Builder targetId​(String targetId)
        The OCID of the target corresponding to the security policy deployment.
        Parameters:
        targetId - the value to set
        Returns:
        this builder
      • dbUserName

        public SqlCollectionSummary.Builder dbUserName​(String dbUserName)
        The database user name.
        Parameters:
        dbUserName - the value to set
        Returns:
        this builder
      • timeLastStarted

        public SqlCollectionSummary.Builder timeLastStarted​(Date timeLastStarted)
        The timestamp of the most recent SqlCollection start operation, in the format defined by RFC3339.
        Parameters:
        timeLastStarted - the value to set
        Returns:
        this builder
      • timeLastStopped

        public SqlCollectionSummary.Builder timeLastStopped​(Date timeLastStopped)
        The timestamp of the most recent SqlCollection stop operation, in the format defined by RFC3339.
        Parameters:
        timeLastStopped - the value to set
        Returns:
        this builder
      • sqlLevel

        public SqlCollectionSummary.Builder sqlLevel​(SqlCollectionSummary.SqlLevel sqlLevel)
        Specifies the level of SQL that will be collected.

        USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.

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

        public SqlCollectionSummary.Builder timeCreated​(Date timeCreated)
        The time that the SQL collection was created, in the format defined by RFC3339.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public SqlCollectionSummary.Builder timeUpdated​(Date timeUpdated)
        The last date and time the SQL collection was updated, in the format defined by RFC3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public SqlCollectionSummary.Builder lifecycleDetails​(String lifecycleDetails)
        Details about the current state of the SQL collection in Data Safe.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public SqlCollectionSummary.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 SqlCollectionSummary.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