Class DecryptionRule.Builder
- java.lang.Object
-
- com.oracle.bmc.networkfirewall.model.DecryptionRule.Builder
-
- Enclosing class:
- DecryptionRule
public static class DecryptionRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecryptionRule.Builder
action(DecryptionActionType action)
Action:DecryptionRule
build()
DecryptionRule.Builder
condition(DecryptionRuleMatchCriteria condition)
DecryptionRule.Builder
copy(DecryptionRule model)
DecryptionRule.Builder
decryptionProfile(String decryptionProfile)
The name of the decryption profile to use.DecryptionRule.Builder
name(String name)
Name for the decryption rule, must be unique within the policy.DecryptionRule.Builder
parentResourceId(String parentResourceId)
OCID of the Network Firewall Policy this decryption rule belongs to.DecryptionRule.Builder
position(RulePosition position)
DecryptionRule.Builder
secret(String secret)
The name of a mapped secret.
-
-
-
Method Detail
-
name
public DecryptionRule.Builder name(String name)
Name for the decryption rule, must be unique within the policy.- Parameters:
name
- the value to set- Returns:
- this builder
-
condition
public DecryptionRule.Builder condition(DecryptionRuleMatchCriteria condition)
-
action
public DecryptionRule.Builder action(DecryptionActionType action)
Action:NO_DECRYPT - Matching traffic is not decrypted. * DECRYPT - Matching traffic is decrypted with the specified secret according to the specified decryptionProfile.
- Parameters:
action
- the value to set- Returns:
- this builder
-
decryptionProfile
public DecryptionRule.Builder decryptionProfile(String decryptionProfile)
The name of the decryption profile to use.- Parameters:
decryptionProfile
- the value to set- Returns:
- this builder
-
secret
public DecryptionRule.Builder secret(String secret)
The name of a mapped secret.Its type must match that of the specified decryption profile.
- Parameters:
secret
- the value to set- Returns:
- this builder
-
position
public DecryptionRule.Builder position(RulePosition position)
-
parentResourceId
public DecryptionRule.Builder parentResourceId(String parentResourceId)
OCID of the Network Firewall Policy this decryption rule belongs to.- Parameters:
parentResourceId
- the value to set- Returns:
- this builder
-
build
public DecryptionRule build()
-
copy
public DecryptionRule.Builder copy(DecryptionRule model)
-
-