Interface DisableLoggingResponse.Builder

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

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

    • loggingEnabled

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

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

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

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

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

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

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

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

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