Package com.oracle.bmc.datasafe.model
Class CreateSqlCollectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.CreateSqlCollectionDetails.Builder
-
- Enclosing class:
- CreateSqlCollectionDetails
public static class CreateSqlCollectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateSqlCollectionDetails.Builder displayName(String displayName)
The display name of the SQL collection.The name does not have to be unique, and it is changeable.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateSqlCollectionDetails.Builder description(String description)
The description of the SQL collection.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public CreateSqlCollectionDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the SQL collection.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
targetId
public CreateSqlCollectionDetails.Builder targetId(String targetId)
The OCID of the target corresponding to the security policy deployment.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
status
public CreateSqlCollectionDetails.Builder status(CreateSqlCollectionDetails.Status status)
Specifies if the SqlCollection has to be started after creation.Enabled indicates that the SqlCollection will be started after creation.
- Parameters:
status
- the value to set- Returns:
- this builder
-
dbUserName
public CreateSqlCollectionDetails.Builder dbUserName(String dbUserName)
The database user name.- Parameters:
dbUserName
- the value to set- Returns:
- this builder
-
sqlLevel
public CreateSqlCollectionDetails.Builder sqlLevel(CreateSqlCollectionDetails.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
-
freeformTags
public CreateSqlCollectionDetails.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 CreateSqlCollectionDetails.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
-
build
public CreateSqlCollectionDetails build()
-
copy
public CreateSqlCollectionDetails.Builder copy(CreateSqlCollectionDetails model)
-
-