Interface ResolverQueryLogConfigAssociation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResolverQueryLogConfigAssociation.Builder,ResolverQueryLogConfigAssociation>,SdkBuilder<ResolverQueryLogConfigAssociation.Builder,ResolverQueryLogConfigAssociation>,SdkPojo
- Enclosing class:
- ResolverQueryLogConfigAssociation
public static interface ResolverQueryLogConfigAssociation.Builder extends SdkPojo, CopyableBuilder<ResolverQueryLogConfigAssociation.Builder,ResolverQueryLogConfigAssociation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolverQueryLogConfigAssociation.BuildercreationTime(String creationTime)The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).ResolverQueryLogConfigAssociation.Buildererror(String error)If the value ofStatusisFAILED, the value ofErrorindicates the cause:ResolverQueryLogConfigAssociation.Buildererror(ResolverQueryLogConfigAssociationError error)If the value ofStatusisFAILED, the value ofErrorindicates the cause:ResolverQueryLogConfigAssociation.BuildererrorMessage(String errorMessage)Contains additional information about the error.ResolverQueryLogConfigAssociation.Builderid(String id)The ID of the query logging association.ResolverQueryLogConfigAssociation.BuilderresolverQueryLogConfigId(String resolverQueryLogConfigId)The ID of the query logging configuration that a VPC is associated with.ResolverQueryLogConfigAssociation.BuilderresourceId(String resourceId)The ID of the Amazon VPC that is associated with the query logging configuration.ResolverQueryLogConfigAssociation.Builderstatus(String status)The status of the specified query logging association.ResolverQueryLogConfigAssociation.Builderstatus(ResolverQueryLogConfigAssociationStatus status)The status of the specified query logging association.-
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
ResolverQueryLogConfigAssociation.Builder id(String id)
The ID of the query logging association.
- Parameters:
id- The ID of the query logging association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolverQueryLogConfigId
ResolverQueryLogConfigAssociation.Builder resolverQueryLogConfigId(String resolverQueryLogConfigId)
The ID of the query logging configuration that a VPC is associated with.
- Parameters:
resolverQueryLogConfigId- The ID of the query logging configuration that a VPC is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
ResolverQueryLogConfigAssociation.Builder resourceId(String resourceId)
The ID of the Amazon VPC that is associated with the query logging configuration.
- Parameters:
resourceId- The ID of the Amazon VPC that is associated with the query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ResolverQueryLogConfigAssociation.Builder status(String status)
The status of the specified query logging association. Valid values include the following:
-
CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. -
ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. -
DELETING: Resolver is deleting this query logging association. -
FAILED: Resolver either couldn't create or couldn't delete the query logging association.
- Parameters:
status- The status of the specified query logging association. Valid values include the following:-
CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. -
ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. -
DELETING: Resolver is deleting this query logging association. -
FAILED: Resolver either couldn't create or couldn't delete the query logging association.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverQueryLogConfigAssociationStatus,ResolverQueryLogConfigAssociationStatus
-
-
status
ResolverQueryLogConfigAssociation.Builder status(ResolverQueryLogConfigAssociationStatus status)
The status of the specified query logging association. Valid values include the following:
-
CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. -
ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. -
DELETING: Resolver is deleting this query logging association. -
FAILED: Resolver either couldn't create or couldn't delete the query logging association.
- Parameters:
status- The status of the specified query logging association. Valid values include the following:-
CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. -
ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. -
DELETING: Resolver is deleting this query logging association. -
FAILED: Resolver either couldn't create or couldn't delete the query logging association.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverQueryLogConfigAssociationStatus,ResolverQueryLogConfigAssociationStatus
-
-
error
ResolverQueryLogConfigAssociation.Builder error(String error)
If the value of
StatusisFAILED, the value ofErrorindicates the cause:-
DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. -
ACCESS_DENIED: Permissions don't allow sending logs to the destination.
If the value of
Statusis a value other thanFAILED,Erroris null.- Parameters:
error- If the value ofStatusisFAILED, the value ofErrorindicates the cause:-
DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. -
ACCESS_DENIED: Permissions don't allow sending logs to the destination.
If the value of
Statusis a value other thanFAILED,Erroris null.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverQueryLogConfigAssociationError,ResolverQueryLogConfigAssociationError
-
-
error
ResolverQueryLogConfigAssociation.Builder error(ResolverQueryLogConfigAssociationError error)
If the value of
StatusisFAILED, the value ofErrorindicates the cause:-
DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. -
ACCESS_DENIED: Permissions don't allow sending logs to the destination.
If the value of
Statusis a value other thanFAILED,Erroris null.- Parameters:
error- If the value ofStatusisFAILED, the value ofErrorindicates the cause:-
DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. -
ACCESS_DENIED: Permissions don't allow sending logs to the destination.
If the value of
Statusis a value other thanFAILED,Erroris null.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverQueryLogConfigAssociationError,ResolverQueryLogConfigAssociationError
-
-
errorMessage
ResolverQueryLogConfigAssociation.Builder errorMessage(String errorMessage)
Contains additional information about the error. If the value or
Erroris null, the value ofErrorMessagealso is null.- Parameters:
errorMessage- Contains additional information about the error. If the value orErroris null, the value ofErrorMessagealso is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
ResolverQueryLogConfigAssociation.Builder creationTime(String creationTime)
The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).
- Parameters:
creationTime- The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-