Package com.oracle.bmc.datasafe.model
Class SqlFirewallConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SqlFirewallConfig.Builder
-
- Enclosing class:
- SqlFirewallConfig
public static class SqlFirewallConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlFirewallConfig
build()
SqlFirewallConfig.Builder
copy(SqlFirewallConfig model)
SqlFirewallConfig.Builder
excludeJob(SqlFirewallConfig.ExcludeJob excludeJob)
Specifies whether the firewall should include or exclude the database internal job activities.SqlFirewallConfig.Builder
status(SqlFirewallConfig.Status status)
Specifies if the firewall is enabled or disabled on the target database.SqlFirewallConfig.Builder
timeStatusUpdated(Date timeStatusUpdated)
The most recent time when the firewall status is updated, in the format defined by RFC3339.SqlFirewallConfig.Builder
violationLogAutoPurge(SqlFirewallConfig.ViolationLogAutoPurge violationLogAutoPurge)
Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
-
-
-
Method Detail
-
status
public SqlFirewallConfig.Builder status(SqlFirewallConfig.Status status)
Specifies if the firewall is enabled or disabled on the target database.- Parameters:
status
- the value to set- Returns:
- this builder
-
violationLogAutoPurge
public SqlFirewallConfig.Builder violationLogAutoPurge(SqlFirewallConfig.ViolationLogAutoPurge violationLogAutoPurge)
Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.- Parameters:
violationLogAutoPurge
- the value to set- Returns:
- this builder
-
excludeJob
public SqlFirewallConfig.Builder excludeJob(SqlFirewallConfig.ExcludeJob excludeJob)
Specifies whether the firewall should include or exclude the database internal job activities.- Parameters:
excludeJob
- the value to set- Returns:
- this builder
-
timeStatusUpdated
public SqlFirewallConfig.Builder timeStatusUpdated(Date timeStatusUpdated)
The most recent time when the firewall status is updated, in the format defined by RFC3339.- Parameters:
timeStatusUpdated
- the value to set- Returns:
- this builder
-
build
public SqlFirewallConfig build()
-
copy
public SqlFirewallConfig.Builder copy(SqlFirewallConfig model)
-
-