Interface CreateResolverQueryLogConfigRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateResolverQueryLogConfigRequest.Builder,CreateResolverQueryLogConfigRequest>,Route53ResolverRequest.Builder,SdkBuilder<CreateResolverQueryLogConfigRequest.Builder,CreateResolverQueryLogConfigRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateResolverQueryLogConfigRequest
public static interface CreateResolverQueryLogConfigRequest.Builder extends Route53ResolverRequest.Builder, SdkPojo, CopyableBuilder<CreateResolverQueryLogConfigRequest.Builder,CreateResolverQueryLogConfigRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateResolverQueryLogConfigRequest.BuildercreatorRequestId(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.CreateResolverQueryLogConfigRequest.BuilderdestinationArn(String destinationArn)The ARN of the resource that you want Resolver to send query logs.CreateResolverQueryLogConfigRequest.Buildername(String name)The name that you want to give the query logging configuration.CreateResolverQueryLogConfigRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateResolverQueryLogConfigRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateResolverQueryLogConfigRequest.Buildertags(Collection<Tag> tags)A list of the tag keys and values that you want to associate with the query logging configuration.CreateResolverQueryLogConfigRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of the tag keys and values that you want to associate with the query logging configuration.CreateResolverQueryLogConfigRequest.Buildertags(Tag... tags)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
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateResolverQueryLogConfigRequest.Builder name(String 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
CreateResolverQueryLogConfigRequest.Builder destinationArn(String 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
CreateResolverQueryLogConfigRequest.Builder creatorRequestId(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.
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
CreateResolverQueryLogConfigRequest.Builder tags(Collection<Tag> 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
CreateResolverQueryLogConfigRequest.Builder tags(Tag... 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
CreateResolverQueryLogConfigRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateResolverQueryLogConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateResolverQueryLogConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-