public static class CreateSqlCollectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
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.
displayName
- the value to setpublic CreateSqlCollectionDetails.Builder description(String description)
The description of the SQL collection.
description
- the value to setpublic CreateSqlCollectionDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the SQL collection.
compartmentId
- the value to setpublic CreateSqlCollectionDetails.Builder targetId(String targetId)
The OCID of the target corresponding to the security policy deployment.
targetId
- the value to setpublic 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.
status
- the value to setpublic CreateSqlCollectionDetails.Builder dbUserName(String dbUserName)
The database user name.
dbUserName
- the value to setpublic 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.
sqlLevel
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateSqlCollectionDetails build()
public CreateSqlCollectionDetails.Builder copy(CreateSqlCollectionDetails model)
Copyright © 2016–2024. All rights reserved.