Interface ResolverQueryLogConfigAssociation.Builder

    • 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 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.

        Parameters:
        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.

        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 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.

        Parameters:
        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.

        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 Error is null, the value of ErrorMessage also is null.

        Parameters:
        errorMessage - Contains additional information about the error. If the value or Error is null, the value of ErrorMessage also 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.