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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolverQueryLogConfig.Builderarn(String arn)The ARN for the query logging configuration.ResolverQueryLogConfig.BuilderassociationCount(Integer associationCount)The number of VPCs that are associated with the query logging configuration.ResolverQueryLogConfig.BuildercreationTime(String creationTime)The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).ResolverQueryLogConfig.BuildercreatorRequestId(String creatorRequestId)A unique string that identifies the request that created the query logging configuration.ResolverQueryLogConfig.BuilderdestinationArn(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.ResolverQueryLogConfig.Builderid(String id)The ID for the query logging configuration.ResolverQueryLogConfig.Buildername(String name)The name of the query logging configuration.ResolverQueryLogConfig.BuilderownerId(String ownerId)The Amazon Web Services account ID for the account that created the query logging configuration.ResolverQueryLogConfig.BuildershareStatus(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.ResolverQueryLogConfig.BuildershareStatus(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.ResolverQueryLogConfig.Builderstatus(String status)The status of the specified query logging configuration.ResolverQueryLogConfig.Builderstatus(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
ResolverQueryLogConfig.Builder id(String 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
ResolverQueryLogConfig.Builder ownerId(String 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
ResolverQueryLogConfig.Builder status(String 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:
ResolverQueryLogConfigStatus,ResolverQueryLogConfigStatus
-
-
status
ResolverQueryLogConfig.Builder status(ResolverQueryLogConfigStatus 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:
ResolverQueryLogConfigStatus,ResolverQueryLogConfigStatus
-
-
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,ShareStatus
-
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:
ShareStatus,ShareStatus
-
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
ResolverQueryLogConfig.Builder arn(String 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
ResolverQueryLogConfig.Builder name(String 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
CreatorRequestIdallows 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. TheCreatorRequestIdallows 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.
-
-