Interface UpdateRealtimeLogConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<UpdateRealtimeLogConfigResponse.Builder,
,UpdateRealtimeLogConfigResponse> SdkBuilder<UpdateRealtimeLogConfigResponse.Builder,
,UpdateRealtimeLogConfigResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateRealtimeLogConfigResponse
public static interface UpdateRealtimeLogConfigResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<UpdateRealtimeLogConfigResponse.Builder,UpdateRealtimeLogConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrealtimeLogConfig
(Consumer<RealtimeLogConfig.Builder> realtimeLogConfig) A real-time log configuration.realtimeLogConfig
(RealtimeLogConfig realtimeLogConfig) A real-time log configuration.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
realtimeLogConfig
A real-time log configuration.
- Parameters:
realtimeLogConfig
- A real-time log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
realtimeLogConfig
default UpdateRealtimeLogConfigResponse.Builder realtimeLogConfig(Consumer<RealtimeLogConfig.Builder> realtimeLogConfig) A real-time log configuration.
This is a convenience method that creates an instance of theRealtimeLogConfig.Builder
avoiding the need to create one manually viaRealtimeLogConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torealtimeLogConfig(RealtimeLogConfig)
.- Parameters:
realtimeLogConfig
- a consumer that will call methods onRealtimeLogConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-