Class UpdateSecurityRuleDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.networkfirewall.model.UpdateSecurityRuleDetails.Builder
-
- Enclosing class:
- UpdateSecurityRuleDetails
public static class UpdateSecurityRuleDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSecurityRuleDetails.Builder
action(TrafficActionType action)
Types of Action on the Traffic flow.UpdateSecurityRuleDetails
build()
UpdateSecurityRuleDetails.Builder
condition(SecurityRuleMatchCriteria condition)
UpdateSecurityRuleDetails.Builder
copy(UpdateSecurityRuleDetails model)
UpdateSecurityRuleDetails.Builder
inspection(TrafficInspectionType inspection)
Type of inspection to affect the Traffic flow.UpdateSecurityRuleDetails.Builder
position(RulePosition position)
-
-
-
Method Detail
-
condition
public UpdateSecurityRuleDetails.Builder condition(SecurityRuleMatchCriteria condition)
-
action
public UpdateSecurityRuleDetails.Builder action(TrafficActionType action)
Types of Action on the Traffic flow.ALLOW - Allows the traffic. * DROP - Silently drops the traffic, e.g. without sending a TCP reset. * REJECT - Rejects the traffic, sending a TCP reset to client and/or server as applicable. * INSPECT - Inspects traffic for vulnerability as specified in inspection, which may result in rejection.
- Parameters:
action
- the value to set- Returns:
- this builder
-
inspection
public UpdateSecurityRuleDetails.Builder inspection(TrafficInspectionType inspection)
Type of inspection to affect the Traffic flow.This is only applicable if action is INSPECT.
INTRUSION_DETECTION - Intrusion Detection. * INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in type.
- Parameters:
inspection
- the value to set- Returns:
- this builder
-
position
public UpdateSecurityRuleDetails.Builder position(RulePosition position)
-
build
public UpdateSecurityRuleDetails build()
-
copy
public UpdateSecurityRuleDetails.Builder copy(UpdateSecurityRuleDetails model)
-
-