public static class SqlCollectionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlCollectionSummary |
build() |
SqlCollectionSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the SQL collection.
|
SqlCollectionSummary.Builder |
copy(SqlCollectionSummary model) |
SqlCollectionSummary.Builder |
dbUserName(String dbUserName)
The database user name.
|
SqlCollectionSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SqlCollectionSummary.Builder |
description(String description)
The description of the SQL collection.
|
SqlCollectionSummary.Builder |
displayName(String displayName)
The display name of the SQL collection.
|
SqlCollectionSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SqlCollectionSummary.Builder |
id(String id)
The OCID of the SQL collection.
|
SqlCollectionSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the SQL collection in Data Safe.
|
SqlCollectionSummary.Builder |
lifecycleState(SqlCollectionLifecycleState lifecycleState)
The current state of the SQL collection.
|
SqlCollectionSummary.Builder |
sqlLevel(SqlCollectionSummary.SqlLevel sqlLevel)
Specifies the level of SQL that will be collected.
|
SqlCollectionSummary.Builder |
status(SqlCollectionSummary.Status status)
Specifies if the status of the SqlCollection.
|
SqlCollectionSummary.Builder |
targetId(String targetId)
The OCID of the target corresponding to the security policy deployment.
|
SqlCollectionSummary.Builder |
timeCreated(Date timeCreated)
The time that the SQL collection was created, in the format defined by RFC3339.
|
SqlCollectionSummary.Builder |
timeLastStarted(Date timeLastStarted)
The timestamp of the most recent SqlCollection start operation, in the format defined by
RFC3339.
|
SqlCollectionSummary.Builder |
timeLastStopped(Date timeLastStopped)
The timestamp of the most recent SqlCollection stop operation, in the format defined by
RFC3339.
|
SqlCollectionSummary.Builder |
timeUpdated(Date timeUpdated)
The last date and time the SQL collection was updated, in the format defined by RFC3339.
|
public SqlCollectionSummary.Builder id(String id)
The OCID of the SQL collection.
id
- the value to setpublic SqlCollectionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the SQL collection.
compartmentId
- the value to setpublic SqlCollectionSummary.Builder displayName(String displayName)
The display name of the SQL collection.
displayName
- the value to setpublic SqlCollectionSummary.Builder description(String description)
The description of the SQL collection.
description
- the value to setpublic SqlCollectionSummary.Builder targetId(String targetId)
The OCID of the target corresponding to the security policy deployment.
targetId
- the value to setpublic SqlCollectionSummary.Builder status(SqlCollectionSummary.Status status)
Specifies if the status of the SqlCollection. Enabled indicates that the collecting is in progress.
status
- the value to setpublic SqlCollectionSummary.Builder dbUserName(String dbUserName)
The database user name.
dbUserName
- the value to setpublic SqlCollectionSummary.Builder timeLastStarted(Date timeLastStarted)
The timestamp of the most recent SqlCollection start operation, in the format defined by RFC3339.
timeLastStarted
- the value to setpublic SqlCollectionSummary.Builder timeLastStopped(Date timeLastStopped)
The timestamp of the most recent SqlCollection stop operation, in the format defined by RFC3339.
timeLastStopped
- the value to setpublic 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.
sqlLevel
- the value to setpublic SqlCollectionSummary.Builder timeCreated(Date timeCreated)
The time that the SQL collection was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic SqlCollectionSummary.Builder timeUpdated(Date timeUpdated)
The last date and time the SQL collection was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic SqlCollectionSummary.Builder lifecycleState(SqlCollectionLifecycleState lifecycleState)
The current state of the SQL collection.
lifecycleState
- the value to setpublic SqlCollectionSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the SQL collection in Data Safe.
lifecycleDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic SqlCollectionSummary build()
public SqlCollectionSummary.Builder copy(SqlCollectionSummary model)
Copyright © 2016–2024. All rights reserved.