Interface DataProtectionConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataProtectionConfig.Builder,
,DataProtectionConfig> SdkBuilder<DataProtectionConfig.Builder,
,DataProtectionConfig> SdkPojo
- Enclosing class:
DataProtectionConfig
@Mutable
@NotThreadSafe
public static interface DataProtectionConfig.Builder
extends SdkPojo, CopyableBuilder<DataProtectionConfig.Builder,DataProtectionConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondataProtections
(Collection<DataProtection> dataProtections) An array of data protection configurations for specific web request field types.dataProtections
(Consumer<DataProtection.Builder>... dataProtections) An array of data protection configurations for specific web request field types.dataProtections
(DataProtection... dataProtections) An array of data protection configurations for specific web request field types.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
-
dataProtections
An array of data protection configurations for specific web request field types. This is defined for each web ACL. WAF applies the specified protection to all web requests that the web ACL inspects.
- Parameters:
dataProtections
- An array of data protection configurations for specific web request field types. This is defined for each web ACL. WAF applies the specified protection to all web requests that the web ACL inspects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProtections
An array of data protection configurations for specific web request field types. This is defined for each web ACL. WAF applies the specified protection to all web requests that the web ACL inspects.
- Parameters:
dataProtections
- An array of data protection configurations for specific web request field types. This is defined for each web ACL. WAF applies the specified protection to all web requests that the web ACL inspects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProtections
An array of data protection configurations for specific web request field types. This is defined for each web ACL. WAF applies the specified protection to all web requests that the web ACL inspects.
This is a convenience method that creates an instance of theDataProtection.Builder
avoiding the need to create one manually viaDataProtection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataProtections(List<DataProtection>)
.- Parameters:
dataProtections
- a consumer that will call methods onDataProtection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-