Interface PutLoggingConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutLoggingConfigurationResponse.Builder,
,PutLoggingConfigurationResponse> SdkBuilder<PutLoggingConfigurationResponse.Builder,
,PutLoggingConfigurationResponse> SdkPojo
,SdkResponse.Builder
,Wafv2Response.Builder
- Enclosing class:
PutLoggingConfigurationResponse
public static interface PutLoggingConfigurationResponse.Builder
extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<PutLoggingConfigurationResponse.Builder,PutLoggingConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionloggingConfiguration
(Consumer<LoggingConfiguration.Builder> loggingConfiguration) This is a convenience method that creates an instance of theLoggingConfiguration.Builder
avoiding the need to create one manually viaLoggingConfiguration.builder()
.loggingConfiguration
(LoggingConfiguration loggingConfiguration) 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
loggingConfiguration
PutLoggingConfigurationResponse.Builder loggingConfiguration(LoggingConfiguration loggingConfiguration) - Parameters:
loggingConfiguration
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default PutLoggingConfigurationResponse.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) This is a convenience method that creates an instance of theLoggingConfiguration.Builder
avoiding the need to create one manually viaLoggingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingConfiguration(LoggingConfiguration)
.- Parameters:
loggingConfiguration
- a consumer that will call methods onLoggingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-