Interface EnableLoggingResponse.Builder

  • Method Details

    • loggingEnabled

      EnableLoggingResponse.Builder loggingEnabled(Boolean loggingEnabled)

      true if logging is on, false if logging is off.

      Parameters:
      loggingEnabled - true if logging is on, false if logging is off.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketName

      EnableLoggingResponse.Builder bucketName(String bucketName)

      The name of the S3 bucket where the log files are stored.

      Parameters:
      bucketName - The name of the S3 bucket where the log files are stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3KeyPrefix

      EnableLoggingResponse.Builder s3KeyPrefix(String s3KeyPrefix)

      The prefix applied to the log file names.

      Parameters:
      s3KeyPrefix - The prefix applied to the log file names.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastSuccessfulDeliveryTime

      EnableLoggingResponse.Builder lastSuccessfulDeliveryTime(Instant lastSuccessfulDeliveryTime)

      The last time that logs were delivered.

      Parameters:
      lastSuccessfulDeliveryTime - The last time that logs were delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastFailureTime

      EnableLoggingResponse.Builder lastFailureTime(Instant lastFailureTime)

      The last time when logs failed to be delivered.

      Parameters:
      lastFailureTime - The last time when logs failed to be delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastFailureMessage

      EnableLoggingResponse.Builder lastFailureMessage(String lastFailureMessage)

      The message indicating that logs failed to be delivered.

      Parameters:
      lastFailureMessage - The message indicating that logs failed to be delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logDestinationType

      EnableLoggingResponse.Builder logDestinationType(String logDestinationType)

      The log destination type. An enum with possible values of s3, cloudwatch, and s3table.

      Parameters:
      logDestinationType - The log destination type. An enum with possible values of s3, cloudwatch, and s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logDestinationType

      EnableLoggingResponse.Builder logDestinationType(LogDestinationType logDestinationType)

      The log destination type. An enum with possible values of s3, cloudwatch, and s3table.

      Parameters:
      logDestinationType - The log destination type. An enum with possible values of s3, cloudwatch, and s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logExports

      The collection of exported log types. When LogDestinationType is s3 or cloudwatch, possible values are connectionlog, useractivitylog, and userlog. When LogDestinationType is s3table, the values are the names of the system tables being published.

      Parameters:
      logExports - The collection of exported log types. When LogDestinationType is s3 or cloudwatch, possible values are connectionlog, useractivitylog, and userlog. When LogDestinationType is s3table, the values are the names of the system tables being published.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logExports

      EnableLoggingResponse.Builder logExports(String... logExports)

      The collection of exported log types. When LogDestinationType is s3 or cloudwatch, possible values are connectionlog, useractivitylog, and userlog. When LogDestinationType is s3table, the values are the names of the system tables being published.

      Parameters:
      logExports - The collection of exported log types. When LogDestinationType is s3 or cloudwatch, possible values are connectionlog, useractivitylog, and userlog. When LogDestinationType is s3table, the values are the names of the system tables being published.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Tables

      The status of system table publishing to S3 Tables. This field is populated only when system table publishing is active.

      Parameters:
      s3Tables - The status of system table publishing to S3 Tables. This field is populated only when system table publishing is active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Tables

      The status of system table publishing to S3 Tables. This field is populated only when system table publishing is active.

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

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

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