Interface EnableLoggingRequest.Builder

  • Method Details

    • clusterIdentifier

      EnableLoggingRequest.Builder clusterIdentifier(String clusterIdentifier)

      The identifier of the cluster on which logging is to be started.

      Example: examplecluster

      Parameters:
      clusterIdentifier - The identifier of the cluster on which logging is to be started.

      Example: examplecluster

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketName

      EnableLoggingRequest.Builder bucketName(String bucketName)

      The name of an existing S3 bucket where the log files are to be stored.

      Constraints:

      • Must be in the same region as the cluster

      • The cluster must have read bucket and put object permissions

      Parameters:
      bucketName - The name of an existing S3 bucket where the log files are to be stored.

      Constraints:

      • Must be in the same region as the cluster

      • The cluster must have read bucket and put object permissions

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3KeyPrefix

      EnableLoggingRequest.Builder s3KeyPrefix(String s3KeyPrefix)

      The prefix applied to the log file names.

      Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore (_), period (.), colon (:), slash ( /), equal (=), plus (+), backslash (\), hyphen ( -), at symbol (@).

      Parameters:
      s3KeyPrefix - The prefix applied to the log file names.

      Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore (_), period (.), colon ( :), slash (/), equal (=), plus (+), backslash ( \), hyphen (-), at symbol (@).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logDestinationType

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

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

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

      EnableLoggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.