Package com.oracle.bmc.datasafe.model
Class FirewallConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.FirewallConfig.Builder
-
- Enclosing class:
- FirewallConfig
public static class FirewallConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FirewallConfigbuild()FirewallConfig.Buildercopy(FirewallConfig model)FirewallConfig.BuilderexcludeJob(FirewallConfig.ExcludeJob excludeJob)Specifies whether the firewall should include or exclude the database internal job activities.FirewallConfig.Builderstatus(FirewallConfig.Status status)Specifies if the firewall is enabled or disabled.FirewallConfig.BuildertimeStatusUpdated(Date timeStatusUpdated)The date and time the firewall configuration was last updated, in the format defined by RFC3339.FirewallConfig.BuilderviolationLogAutoPurge(FirewallConfig.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 FirewallConfig.Builder status(FirewallConfig.Status status)
Specifies if the firewall is enabled or disabled.- Parameters:
status- the value to set- Returns:
- this builder
-
violationLogAutoPurge
public FirewallConfig.Builder violationLogAutoPurge(FirewallConfig.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 FirewallConfig.Builder excludeJob(FirewallConfig.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 FirewallConfig.Builder timeStatusUpdated(Date timeStatusUpdated)
The date and time the firewall configuration was last updated, in the format defined by RFC3339.- Parameters:
timeStatusUpdated- the value to set- Returns:
- this builder
-
build
public FirewallConfig build()
-
copy
public FirewallConfig.Builder copy(FirewallConfig model)
-
-