Interface ResolverQueryLogConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResolverQueryLogConfig.Builder,ResolverQueryLogConfig>, SdkBuilder<ResolverQueryLogConfig.Builder,ResolverQueryLogConfig>, SdkPojo
Enclosing class:
ResolverQueryLogConfig

public static interface ResolverQueryLogConfig.Builder extends SdkPojo, CopyableBuilder<ResolverQueryLogConfig.Builder,ResolverQueryLogConfig>
  • Method Details

    • id

      The ID for the query logging configuration.

      Parameters:
      id - The ID for the query logging configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerId

      The Amazon Web Services account ID for the account that created the query logging configuration.

      Parameters:
      ownerId - The Amazon Web Services account ID for the account that created the query logging configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the specified query logging configuration. Valid values include the following:

      • CREATING: Resolver is creating the query logging configuration.

      • CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.

      • DELETING: Resolver is deleting this query logging configuration.

      • FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:

        • The specified destination (for example, an Amazon S3 bucket) was deleted.

        • Permissions don't allow sending logs to the destination.

      Parameters:
      status - The status of the specified query logging configuration. Valid values include the following:

      • CREATING: Resolver is creating the query logging configuration.

      • CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.

      • DELETING: Resolver is deleting this query logging configuration.

      • FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:

        • The specified destination (for example, an Amazon S3 bucket) was deleted.

        • Permissions don't allow sending logs to the destination.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the specified query logging configuration. Valid values include the following:

      • CREATING: Resolver is creating the query logging configuration.

      • CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.

      • DELETING: Resolver is deleting this query logging configuration.

      • FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:

        • The specified destination (for example, an Amazon S3 bucket) was deleted.

        • Permissions don't allow sending logs to the destination.

      Parameters:
      status - The status of the specified query logging configuration. Valid values include the following:

      • CREATING: Resolver is creating the query logging configuration.

      • CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.

      • DELETING: Resolver is deleting this query logging configuration.

      • FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:

        • The specified destination (for example, an Amazon S3 bucket) was deleted.

        • Permissions don't allow sending logs to the destination.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • shareStatus

      ResolverQueryLogConfig.Builder shareStatus(String shareStatus)

      An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).

      Parameters:
      shareStatus - An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • shareStatus

      ResolverQueryLogConfig.Builder shareStatus(ShareStatus shareStatus)

      An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).

      Parameters:
      shareStatus - An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associationCount

      ResolverQueryLogConfig.Builder associationCount(Integer associationCount)

      The number of VPCs that are associated with the query logging configuration.

      Parameters:
      associationCount - The number of VPCs that are associated with the query logging configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN for the query logging configuration.

      Parameters:
      arn - The ARN for the query logging configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the query logging configuration.

      Parameters:
      name - The name of the query logging configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationArn

      ResolverQueryLogConfig.Builder destinationArn(String destinationArn)

      The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.

      Parameters:
      destinationArn - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creatorRequestId

      ResolverQueryLogConfig.Builder creatorRequestId(String creatorRequestId)

      A unique string that identifies the request that created the query logging configuration. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.

      Parameters:
      creatorRequestId - A unique string that identifies the request that created the query logging configuration. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      ResolverQueryLogConfig.Builder creationTime(String creationTime)

      The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).

      Parameters:
      creationTime - The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.