Interface WafLogConfigRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WafLogConfigRequest.Builder,,WafLogConfigRequest> SdkBuilder<WafLogConfigRequest.Builder,,WafLogConfigRequest> SdkPojo
- Enclosing class:
WafLogConfigRequest
@Mutable
@NotThreadSafe
public static interface WafLogConfigRequest.Builder
extends SdkPojo, CopyableBuilder<WafLogConfigRequest.Builder,WafLogConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WafLogConfigRequest.BuildercloudWatchLogsConfig(Consumer<WafCloudWatchLogsDeliveryConfigRequest.Builder> cloudWatchLogsConfig) The Amazon CloudWatch Logs delivery settings.cloudWatchLogsConfig(WafCloudWatchLogsDeliveryConfigRequest cloudWatchLogsConfig) The Amazon CloudWatch Logs delivery settings.default WafLogConfigRequest.Builders3Config(Consumer<WafS3DeliveryConfigRequest.Builder> s3Config) The Amazon S3 delivery settings.s3Config(WafS3DeliveryConfigRequest s3Config) The Amazon S3 delivery settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cloudWatchLogsConfig
WafLogConfigRequest.Builder cloudWatchLogsConfig(WafCloudWatchLogsDeliveryConfigRequest cloudWatchLogsConfig) The Amazon CloudWatch Logs delivery settings.
- Parameters:
cloudWatchLogsConfig- The Amazon CloudWatch Logs delivery settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsConfig
default WafLogConfigRequest.Builder cloudWatchLogsConfig(Consumer<WafCloudWatchLogsDeliveryConfigRequest.Builder> cloudWatchLogsConfig) The Amazon CloudWatch Logs delivery settings.
This is a convenience method that creates an instance of theWafCloudWatchLogsDeliveryConfigRequest.Builderavoiding the need to create one manually viaWafCloudWatchLogsDeliveryConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLogsConfig(WafCloudWatchLogsDeliveryConfigRequest).- Parameters:
cloudWatchLogsConfig- a consumer that will call methods onWafCloudWatchLogsDeliveryConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Config
The Amazon S3 delivery settings.
- Parameters:
s3Config- The Amazon S3 delivery settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Config
The Amazon S3 delivery settings.
This is a convenience method that creates an instance of theWafS3DeliveryConfigRequest.Builderavoiding the need to create one manually viaWafS3DeliveryConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Config(WafS3DeliveryConfigRequest).- Parameters:
s3Config- a consumer that will call methods onWafS3DeliveryConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-