Interface DescribeLoggingStatusResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeLoggingStatusResponse.Builder,DescribeLoggingStatusResponse>, RedshiftResponse.Builder, SdkBuilder<DescribeLoggingStatusResponse.Builder,DescribeLoggingStatusResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeLoggingStatusResponse

public static interface DescribeLoggingStatusResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeLoggingStatusResponse.Builder,DescribeLoggingStatusResponse>
  • Method Details

    • loggingEnabled

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

      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

      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

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

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

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

      DescribeLoggingStatusResponse.Builder logDestinationType(String logDestinationType)

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

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

      DescribeLoggingStatusResponse.Builder logDestinationType(LogDestinationType logDestinationType)

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

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

      The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.

      Parameters:
      logExports - The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logExports

      DescribeLoggingStatusResponse.Builder logExports(String... logExports)

      The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.

      Parameters:
      logExports - The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.