Interface CreateResolverQueryLogConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateResolverQueryLogConfigRequest.Builder,,CreateResolverQueryLogConfigRequest> Route53ResolverRequest.Builder,SdkBuilder<CreateResolverQueryLogConfigRequest.Builder,,CreateResolverQueryLogConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateResolverQueryLogConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreatorRequestId(String creatorRequestId) A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.destinationArn(String destinationArn) The ARN of the resource that you want Resolver to send query logs.The name that you want to give the query logging configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) A list of the tag keys and values that you want to associate with the query logging configuration.tags(Consumer<Tag.Builder>... tags) A list of the tag keys and values that you want to associate with the query logging configuration.A list of the tag keys and values that you want to associate with the query logging configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name that you want to give the query logging configuration.
- Parameters:
name- The name that you want to give the query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationArn
The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:
-
S3 bucket:
arn:aws:s3:::amzn-s3-demo-bucketYou can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::amzn-s3-demo-bucket/development/ -
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:* -
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
- Parameters:
destinationArn- The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:-
S3 bucket:
arn:aws:s3:::amzn-s3-demo-bucketYou can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::amzn-s3-demo-bucket/development/ -
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:* -
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
creatorRequestId
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.- Parameters:
creatorRequestId- A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.CreatorRequestIdcan be any unique string, for example, a date/time stamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of the tag keys and values that you want to associate with the query logging configuration.
- Parameters:
tags- A list of the tag keys and values that you want to associate with the query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of the tag keys and values that you want to associate with the query logging configuration.
- Parameters:
tags- A list of the tag keys and values that you want to associate with the query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of the tag keys and values that you want to associate with the query logging configuration.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateResolverQueryLogConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateResolverQueryLogConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-