Interface CreateQueryLoggingConfigResponse.Builder

  • Method Details

    • queryLoggingConfig

      CreateQueryLoggingConfigResponse.Builder queryLoggingConfig(QueryLoggingConfig queryLoggingConfig)

      A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.

      Parameters:
      queryLoggingConfig - A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryLoggingConfig

      default CreateQueryLoggingConfigResponse.Builder queryLoggingConfig(Consumer<QueryLoggingConfig.Builder> queryLoggingConfig)

      A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.

      This is a convenience method that creates an instance of the QueryLoggingConfig.Builder avoiding the need to create one manually via QueryLoggingConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to queryLoggingConfig(QueryLoggingConfig).

      Parameters:
      queryLoggingConfig - a consumer that will call methods on QueryLoggingConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • location

      The unique URL representing the new query logging configuration.

      Parameters:
      location - The unique URL representing the new query logging configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.