public static final class ALBSensitiveFieldRule.Builder
extends java.lang.Object
ALBSensitiveFieldRule.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBSensitiveFieldRule. |
| Modifier and Type | Method and Description |
|---|---|
ALBSensitiveFieldRule |
build() |
ALBSensitiveFieldRule.Builder |
setAction(java.lang.String action)
Possible values are:
ALBSensitiveFieldRule.ACTION_REMOVE
ALBSensitiveFieldRule.ACTION_MASKOFF
Action for the matched log field, for instance the matched field can be
removed or masked off. |
ALBSensitiveFieldRule.Builder |
setEnabled(java.lang.Boolean enabled)
Enable rule to match the sensitive fields.
|
ALBSensitiveFieldRule.Builder |
setIndex(java.lang.Long index)
Index of the rule.
|
ALBSensitiveFieldRule.Builder |
setMatch(ALBStringMatch match) |
ALBSensitiveFieldRule.Builder |
setName(java.lang.String name)
Name of the rule.
|
public Builder()
ALBSensitiveFieldRule.public ALBSensitiveFieldRule.Builder setAction(java.lang.String action)
action - New value for the property.public ALBSensitiveFieldRule.Builder setEnabled(java.lang.Boolean enabled)
enabled - New value for the property.public ALBSensitiveFieldRule.Builder setIndex(java.lang.Long index)
index - New value for the property.public ALBSensitiveFieldRule.Builder setMatch(ALBStringMatch match)
match - New value for the property.public ALBSensitiveFieldRule.Builder setName(java.lang.String name)
name - New value for the property.public ALBSensitiveFieldRule build()