Interface CreateQueryLoggingConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateQueryLoggingConfigRequest.Builder,
,CreateQueryLoggingConfigRequest> Route53Request.Builder
,SdkBuilder<CreateQueryLoggingConfigRequest.Builder,
,CreateQueryLoggingConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateQueryLoggingConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogsLogGroupArn
(String cloudWatchLogsLogGroupArn) The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to.hostedZoneId
(String hostedZoneId) The ID of the hosted zone that you want to log queries for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hostedZoneId
The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.
- Parameters:
hostedZoneId
- The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsLogGroupArn
The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to. This is the format of the ARN:
arn:aws:logs:region:account-id:log-group:log_group_name
To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups command, or the applicable command in one of the Amazon Web Services SDKs.
- Parameters:
cloudWatchLogsLogGroupArn
- The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to. This is the format of the ARN:arn:aws:logs:region:account-id:log-group:log_group_name
To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups command, or the applicable command in one of the Amazon Web Services SDKs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateQueryLoggingConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateQueryLoggingConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-