Interface DataProtection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataProtection.Builder,
,DataProtection> SdkBuilder<DataProtection.Builder,
,DataProtection> SdkPojo
- Enclosing class:
DataProtection
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies how to protect the field.action
(DataProtectionAction action) Specifies how to protect the field.excludeRateBasedDetails
(Boolean excludeRateBasedDetails) Specifies whether to also exclude any rate-based rule details from the data protection you have enabled for a given field.excludeRuleMatchDetails
(Boolean excludeRuleMatchDetails) Specifies whether to also exclude any rule match details from the data protection you have enabled for a given field.default DataProtection.Builder
field
(Consumer<FieldToProtect.Builder> field) Specifies the field type and optional keys to apply the protection behavior to.field
(FieldToProtect field) Specifies the field type and optional keys to apply the protection behavior to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
field
Specifies the field type and optional keys to apply the protection behavior to.
- Parameters:
field
- Specifies the field type and optional keys to apply the protection behavior to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
field
Specifies the field type and optional keys to apply the protection behavior to.
This is a convenience method that creates an instance of theFieldToProtect.Builder
avoiding the need to create one manually viaFieldToProtect.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofield(FieldToProtect)
.- Parameters:
field
- a consumer that will call methods onFieldToProtect.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Specifies how to protect the field. WAF can apply a one-way hash to the field or hard code a string substitution.
-
One-way hash example:
ade099751dEXAMPLEHASH2ea9f3393f80dd5d3bEXAMPLEHASH966ae0d3cd5a1e
-
Substitution example:
REDACTED
- Parameters:
action
- Specifies how to protect the field. WAF can apply a one-way hash to the field or hard code a string substitution.-
One-way hash example:
ade099751dEXAMPLEHASH2ea9f3393f80dd5d3bEXAMPLEHASH966ae0d3cd5a1e
-
Substitution example:
REDACTED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
action
Specifies how to protect the field. WAF can apply a one-way hash to the field or hard code a string substitution.
-
One-way hash example:
ade099751dEXAMPLEHASH2ea9f3393f80dd5d3bEXAMPLEHASH966ae0d3cd5a1e
-
Substitution example:
REDACTED
- Parameters:
action
- Specifies how to protect the field. WAF can apply a one-way hash to the field or hard code a string substitution.-
One-way hash example:
ade099751dEXAMPLEHASH2ea9f3393f80dd5d3bEXAMPLEHASH966ae0d3cd5a1e
-
Substitution example:
REDACTED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
excludeRuleMatchDetails
Specifies whether to also exclude any rule match details from the data protection you have enabled for a given field. WAF logs these details for non-terminating matching rules and for the terminating matching rule. For additional information, see Log fields for web ACL traffic in the WAF Developer Guide.
Default:
FALSE
- Parameters:
excludeRuleMatchDetails
- Specifies whether to also exclude any rule match details from the data protection you have enabled for a given field. WAF logs these details for non-terminating matching rules and for the terminating matching rule. For additional information, see Log fields for web ACL traffic in the WAF Developer Guide.Default:
FALSE
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRateBasedDetails
Specifies whether to also exclude any rate-based rule details from the data protection you have enabled for a given field. If you specify this exception, RateBasedDetails will show the value of the field. For additional information, see the log field
rateBasedRuleList
at Log fields for web ACL traffic in the WAF Developer Guide.Default:
FALSE
- Parameters:
excludeRateBasedDetails
- Specifies whether to also exclude any rate-based rule details from the data protection you have enabled for a given field. If you specify this exception, RateBasedDetails will show the value of the field. For additional information, see the log fieldrateBasedRuleList
at Log fields for web ACL traffic in the WAF Developer Guide.Default:
FALSE
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-