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.Builderavoiding the need to create one manually viaLoggingConfiguration.builder().loggingConfiguration(LoggingConfiguration loggingConfiguration) 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaLoggingConfiguration.builder().When the
Consumercompletes,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:
-