Interface CreateResolverQueryLogConfigRequest.Builder

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

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

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

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

        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:
        #tags(java.util.Collection)