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 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

      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:::examplebucket

        You can optionally append a file prefix to the end of the ARN.

        arn:aws:s3:::examplebucket/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:::examplebucket

        You can optionally append a file prefix to the end of the ARN.

        arn:aws:s3:::examplebucket/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. CreatorRequestId can 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. CreatorRequestId can 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.