Interface ResolverQueryLogConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResolverQueryLogConfig.Builder,
,ResolverQueryLogConfig> SdkBuilder<ResolverQueryLogConfig.Builder,
,ResolverQueryLogConfig> SdkPojo
- Enclosing class:
ResolverQueryLogConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN for the query logging configuration.associationCount
(Integer associationCount) The number of VPCs that are associated with the query logging configuration.creationTime
(String creationTime) The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).creatorRequestId
(String creatorRequestId) A unique string that identifies the request that created the query logging configuration.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.The ID for the query logging configuration.The name of the query logging configuration.The Amazon Web Services account ID for the account that created the query logging configuration.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.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.The status of the specified query logging configuration.status
(ResolverQueryLogConfigStatus status) The status of the specified query logging configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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:
-
-
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
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
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. TheCreatorRequestId
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
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.
-