Interface CreateQueryLoggingConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateQueryLoggingConfigResponse.Builder,
,CreateQueryLoggingConfigResponse> Route53Response.Builder
,SdkBuilder<CreateQueryLoggingConfigResponse.Builder,
,CreateQueryLoggingConfigResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateQueryLoggingConfigResponse
@Mutable
@NotThreadSafe
public static interface CreateQueryLoggingConfigResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<CreateQueryLoggingConfigResponse.Builder,CreateQueryLoggingConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique URL representing the new query logging configuration.queryLoggingConfig
(Consumer<QueryLoggingConfig.Builder> queryLoggingConfig) A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.queryLoggingConfig
(QueryLoggingConfig queryLoggingConfig) A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadata
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
-
queryLoggingConfig
A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.
- Parameters:
queryLoggingConfig
- A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryLoggingConfig
default CreateQueryLoggingConfigResponse.Builder queryLoggingConfig(Consumer<QueryLoggingConfig.Builder> queryLoggingConfig) A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.
This is a convenience method that creates an instance of theQueryLoggingConfig.Builder
avoiding the need to create one manually viaQueryLoggingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryLoggingConfig(QueryLoggingConfig)
.- Parameters:
queryLoggingConfig
- a consumer that will call methods onQueryLoggingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The unique URL representing the new query logging configuration.
- Parameters:
location
- The unique URL representing the new query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-