Class CreateDecryptionRuleDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.networkfirewall.model.CreateDecryptionRuleDetails.Builder
-
- Enclosing class:
- CreateDecryptionRuleDetails
public static class CreateDecryptionRuleDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDecryptionRuleDetails.Builder
action(DecryptionActionType action)
Action:CreateDecryptionRuleDetails
build()
CreateDecryptionRuleDetails.Builder
condition(DecryptionRuleMatchCriteria condition)
CreateDecryptionRuleDetails.Builder
copy(CreateDecryptionRuleDetails model)
CreateDecryptionRuleDetails.Builder
decryptionProfile(String decryptionProfile)
The name of the decryption profile to use.CreateDecryptionRuleDetails.Builder
name(String name)
Name for the decryption rule, must be unique within the policy.CreateDecryptionRuleDetails.Builder
position(RulePosition position)
CreateDecryptionRuleDetails.Builder
secret(String secret)
The name of a mapped secret.
-
-
-
Method Detail
-
name
public CreateDecryptionRuleDetails.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 CreateDecryptionRuleDetails.Builder condition(DecryptionRuleMatchCriteria condition)
-
action
public CreateDecryptionRuleDetails.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 CreateDecryptionRuleDetails.Builder decryptionProfile(String decryptionProfile)
The name of the decryption profile to use.- Parameters:
decryptionProfile
- the value to set- Returns:
- this builder
-
secret
public CreateDecryptionRuleDetails.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 CreateDecryptionRuleDetails.Builder position(RulePosition position)
-
build
public CreateDecryptionRuleDetails build()
-
copy
public CreateDecryptionRuleDetails.Builder copy(CreateDecryptionRuleDetails model)
-
-