Interface ListRealtimeLogConfigsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<ListRealtimeLogConfigsResponse.Builder,
,ListRealtimeLogConfigsResponse> SdkBuilder<ListRealtimeLogConfigsResponse.Builder,
,ListRealtimeLogConfigsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRealtimeLogConfigsResponse
@Mutable
@NotThreadSafe
public static interface ListRealtimeLogConfigsResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListRealtimeLogConfigsResponse.Builder,ListRealtimeLogConfigsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrealtimeLogConfigs
(Consumer<RealtimeLogConfigs.Builder> realtimeLogConfigs) A list of real-time log configurations.realtimeLogConfigs
(RealtimeLogConfigs realtimeLogConfigs) A list of real-time log configurations.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
realtimeLogConfigs
A list of real-time log configurations.
- Parameters:
realtimeLogConfigs
- A list of real-time log configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
realtimeLogConfigs
default ListRealtimeLogConfigsResponse.Builder realtimeLogConfigs(Consumer<RealtimeLogConfigs.Builder> realtimeLogConfigs) A list of real-time log configurations.
This is a convenience method that creates an instance of theRealtimeLogConfigs.Builder
avoiding the need to create one manually viaRealtimeLogConfigs.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torealtimeLogConfigs(RealtimeLogConfigs)
.- Parameters:
realtimeLogConfigs
- a consumer that will call methods onRealtimeLogConfigs.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-