@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResolverQueryLogConfigAssociation extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ResolverQueryLogConfigAssociation() |
Modifier and Type | Method and Description |
---|---|
ResolverQueryLogConfigAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getCreationTime()
The date and time that the VPC was associated with the query logging configuration, in Unix time format and
Coordinated Universal Time (UTC).
|
String |
getError()
If the value of
Status is FAILED , the value of Error indicates the cause: |
String |
getErrorMessage()
Contains additional information about the error.
|
String |
getId()
The ID of the query logging association.
|
String |
getResolverQueryLogConfigId()
The ID of the query logging configuration that a VPC is associated with.
|
String |
getResourceId()
The ID of the Amazon VPC that is associated with the query logging configuration.
|
String |
getStatus()
The status of the specified query logging association.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(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).
|
void |
setError(String error)
If the value of
Status is FAILED , the value of Error indicates the cause: |
void |
setErrorMessage(String errorMessage)
Contains additional information about the error.
|
void |
setId(String id)
The ID of the query logging association.
|
void |
setResolverQueryLogConfigId(String resolverQueryLogConfigId)
The ID of the query logging configuration that a VPC is associated with.
|
void |
setResourceId(String resourceId)
The ID of the Amazon VPC that is associated with the query logging configuration.
|
void |
setStatus(String status)
The status of the specified query logging association.
|
String |
toString()
Returns a string representation of this object.
|
ResolverQueryLogConfigAssociation |
withCreationTime(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 |
withError(ResolverQueryLogConfigAssociationError error)
If the value of
Status is FAILED , the value of Error indicates the cause: |
ResolverQueryLogConfigAssociation |
withError(String error)
If the value of
Status is FAILED , the value of Error indicates the cause: |
ResolverQueryLogConfigAssociation |
withErrorMessage(String errorMessage)
Contains additional information about the error.
|
ResolverQueryLogConfigAssociation |
withId(String id)
The ID of the query logging association.
|
ResolverQueryLogConfigAssociation |
withResolverQueryLogConfigId(String resolverQueryLogConfigId)
The ID of the query logging configuration that a VPC is associated with.
|
ResolverQueryLogConfigAssociation |
withResourceId(String resourceId)
The ID of the Amazon VPC that is associated with the query logging configuration.
|
ResolverQueryLogConfigAssociation |
withStatus(ResolverQueryLogConfigAssociationStatus status)
The status of the specified query logging association.
|
ResolverQueryLogConfigAssociation |
withStatus(String status)
The status of the specified query logging association.
|
public void setId(String id)
The ID of the query logging association.
id
- The ID of the query logging association.public String getId()
The ID of the query logging association.
public ResolverQueryLogConfigAssociation withId(String id)
The ID of the query logging association.
id
- The ID of the query logging association.public void setResolverQueryLogConfigId(String resolverQueryLogConfigId)
The ID of the query logging configuration that a VPC is associated with.
resolverQueryLogConfigId
- The ID of the query logging configuration that a VPC is associated with.public String getResolverQueryLogConfigId()
The ID of the query logging configuration that a VPC is associated with.
public ResolverQueryLogConfigAssociation withResolverQueryLogConfigId(String resolverQueryLogConfigId)
The ID of the query logging configuration that a VPC is associated with.
resolverQueryLogConfigId
- The ID of the query logging configuration that a VPC is associated with.public void setResourceId(String resourceId)
The ID of the Amazon VPC that is associated with the query logging configuration.
resourceId
- The ID of the Amazon VPC that is associated with the query logging configuration.public String getResourceId()
The ID of the Amazon VPC that is associated with the query logging configuration.
public ResolverQueryLogConfigAssociation withResourceId(String resourceId)
The ID of the Amazon VPC that is associated with the query logging configuration.
resourceId
- The ID of the Amazon VPC that is associated with the query logging configuration.public void setStatus(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.
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.
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.
ResolverQueryLogConfigAssociationStatus
public String getStatus()
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.
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.
ResolverQueryLogConfigAssociationStatus
public ResolverQueryLogConfigAssociation withStatus(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.
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.
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.
ResolverQueryLogConfigAssociationStatus
public ResolverQueryLogConfigAssociation withStatus(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.
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.
ResolverQueryLogConfigAssociationStatus
public void setError(String 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.
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.
ResolverQueryLogConfigAssociationError
public String getError()
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.
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.
ResolverQueryLogConfigAssociationError
public ResolverQueryLogConfigAssociation withError(String 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.
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.
ResolverQueryLogConfigAssociationError
public ResolverQueryLogConfigAssociation withError(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.
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.
ResolverQueryLogConfigAssociationError
public void setErrorMessage(String errorMessage)
Contains additional information about the error. If the value or Error
is null, the value of
ErrorMessage
also is null.
errorMessage
- Contains additional information about the error. If the value or Error
is null, the value of
ErrorMessage
also is null.public String getErrorMessage()
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 ResolverQueryLogConfigAssociation withErrorMessage(String errorMessage)
Contains additional information about the error. If the value or Error
is null, the value of
ErrorMessage
also is null.
errorMessage
- Contains additional information about the error. If the value or Error
is null, the value of
ErrorMessage
also is null.public void setCreationTime(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).
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 String getCreationTime()
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 withCreationTime(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).
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 String toString()
toString
in class Object
Object.toString()
public ResolverQueryLogConfigAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.