@Generated(value="software.amazon.awssdk:codegen") public final class ResolverQueryLogConfigAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResolverQueryLogConfigAssociation.Builder,ResolverQueryLogConfigAssociation>
In the response to an AssociateResolverQueryLogConfig, DisassociateResolverQueryLogConfig, GetResolverQueryLogConfigAssociation, or ListResolverQueryLogConfigAssociations, request, a complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResolverQueryLogConfigAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResolverQueryLogConfigAssociation.Builder |
builder() |
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).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ResolverQueryLogConfigAssociationError |
error()
If the value of
Status is FAILED, the value of Error indicates the cause: |
String |
errorAsString()
If the value of
Status is FAILED, the value of Error indicates the cause: |
String |
errorMessage()
Contains additional information about the error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the query logging association.
|
String |
resolverQueryLogConfigId()
The ID of the query logging configuration that a VPC is associated with.
|
String |
resourceId()
The ID of the Amazon VPC that is associated with the query logging configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResolverQueryLogConfigAssociation.Builder> |
serializableBuilderClass() |
ResolverQueryLogConfigAssociationStatus |
status()
The status of the specified query logging association.
|
String |
statusAsString()
The status of the specified query logging association.
|
ResolverQueryLogConfigAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the query logging association.
public final String resolverQueryLogConfigId()
The ID of the query logging configuration that a VPC is associated with.
public final String resourceId()
The ID of the Amazon VPC that is associated with the query logging configuration.
public final 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.
CREATED: 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.
If the service returns an enum value that is not available in the current SDK version, status will
return ResolverQueryLogConfigAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from statusAsString().
CREATING: Resolver is creating an association between an Amazon VPC and a query logging
configuration.
CREATED: 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.
ResolverQueryLogConfigAssociationStatuspublic final String statusAsString()
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.
CREATED: 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.
If the service returns an enum value that is not available in the current SDK version, status will
return ResolverQueryLogConfigAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from statusAsString().
CREATING: Resolver is creating an association between an Amazon VPC and a query logging
configuration.
CREATED: 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.
ResolverQueryLogConfigAssociationStatuspublic final ResolverQueryLogConfigAssociationError error()
If the value of Status is FAILED, the value of Error indicates 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 Status is a value other than FAILED, Error is null.
If the service returns an enum value that is not available in the current SDK version, error will return
ResolverQueryLogConfigAssociationError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from errorAsString().
Status is FAILED, the value of Error indicates 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 Status is a value other than FAILED, Error is
null.
ResolverQueryLogConfigAssociationErrorpublic final String errorAsString()
If the value of Status is FAILED, the value of Error indicates 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 Status is a value other than FAILED, Error is null.
If the service returns an enum value that is not available in the current SDK version, error will return
ResolverQueryLogConfigAssociationError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from errorAsString().
Status is FAILED, the value of Error indicates 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 Status is a value other than FAILED, Error is
null.
ResolverQueryLogConfigAssociationErrorpublic final String errorMessage()
Contains additional information about the error. If the value or Error is null, the value of
ErrorMessage also is null.
Error is null, the value of
ErrorMessage also is null.public final 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).
public ResolverQueryLogConfigAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResolverQueryLogConfigAssociation.Builder,ResolverQueryLogConfigAssociation>public static ResolverQueryLogConfigAssociation.Builder builder()
public static Class<? extends ResolverQueryLogConfigAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.