Class ResolverQueryLogConfigAssociation
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.error()If the value ofStatusisFAILED, the value ofErrorindicates the cause:final StringIf the value ofStatusisFAILED, the value ofErrorindicates the cause:final StringContains additional information about the error.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The ID of the query logging association.final StringThe ID of the query logging configuration that a VPC is associated with.final StringThe ID of the Amazon VPC that is associated with the query logging configuration.static Class<? extends ResolverQueryLogConfigAssociation.Builder> status()The status of the specified query logging association.final StringThe status of the specified query logging association.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The ID of the query logging association.
- Returns:
- The ID of the query logging association.
-
resolverQueryLogConfigId
The ID of the query logging configuration that a VPC is associated with.
- Returns:
- The ID of the query logging configuration that a VPC is associated with.
-
resourceId
The ID of the Amazon VPC that is associated with the query logging configuration.
- Returns:
- The ID of the Amazon VPC that is associated with the query logging configuration.
-
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnResolverQueryLogConfigAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
-
-
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. -
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnResolverQueryLogConfigAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
-
-
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.If the service returns an enum value that is not available in the current SDK version,
errorwill returnResolverQueryLogConfigAssociationError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorAsString().- Returns:
- 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. -
- See Also:
-
-
errorAsString
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.If the service returns an enum value that is not available in the current SDK version,
errorwill returnResolverQueryLogConfigAssociationError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorAsString().- Returns:
- 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. -
- See Also:
-
-
errorMessage
Contains additional information about the error. If the value or
Erroris null, the value ofErrorMessagealso is null.- Returns:
- Contains additional information about the error. If the value or
Erroris null, the value ofErrorMessagealso is null.
-
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:
- The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ResolverQueryLogConfigAssociation.Builder,ResolverQueryLogConfigAssociation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-