Interface LoggingConfiguration.Builder

  • Method Details

    • logExportsWithStrings

      LoggingConfiguration.Builder logExportsWithStrings(Collection<String> logExports)

      The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.

      Parameters:
      logExports - The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logExportsWithStrings

      LoggingConfiguration.Builder logExportsWithStrings(String... logExports)

      The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.

      Parameters:
      logExports - The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logExports

      The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.

      Parameters:
      logExports - The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logExports

      LoggingConfiguration.Builder logExports(LogExport... logExports)

      The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.

      Parameters:
      logExports - The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logDestinationType

      LoggingConfiguration.Builder logDestinationType(String logDestinationType)

      The destination for the log data. Valid values:

      • cloudwatch - Exports audit logs to Amazon CloudWatch. This is the default.

      • s3table - Publishes system tables to Amazon S3 Tables.

      Parameters:
      logDestinationType - The destination for the log data. Valid values:

      • cloudwatch - Exports audit logs to Amazon CloudWatch. This is the default.

      • s3table - Publishes system tables to Amazon S3 Tables.

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

      LoggingConfiguration.Builder logDestinationType(LogDestinationType logDestinationType)

      The destination for the log data. Valid values:

      • cloudwatch - Exports audit logs to Amazon CloudWatch. This is the default.

      • s3table - Publishes system tables to Amazon S3 Tables.

      Parameters:
      logDestinationType - The destination for the log data. Valid values:

      • cloudwatch - Exports audit logs to Amazon CloudWatch. This is the default.

      • s3table - Publishes system tables to Amazon S3 Tables.

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

      LoggingConfiguration.Builder s3TableAction(String s3TableAction)

      Whether to enable or disable publishing system tables to Amazon S3 Tables. Valid values are Enable and Disable, and they are case-sensitive. When omitted, defaults to Enable. Valid only when logDestinationType is s3table.

      Parameters:
      s3TableAction - Whether to enable or disable publishing system tables to Amazon S3 Tables. Valid values are Enable and Disable, and they are case-sensitive. When omitted, defaults to Enable. Valid only when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • s3TableAction

      LoggingConfiguration.Builder s3TableAction(S3TableAction s3TableAction)

      Whether to enable or disable publishing system tables to Amazon S3 Tables. Valid values are Enable and Disable, and they are case-sensitive. When omitted, defaults to Enable. Valid only when logDestinationType is s3table.

      Parameters:
      s3TableAction - Whether to enable or disable publishing system tables to Amazon S3 Tables. Valid values are Enable and Disable, and they are case-sensitive. When omitted, defaults to Enable. Valid only when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • s3TableNames

      LoggingConfiguration.Builder s3TableNames(Collection<String> s3TableNames)

      The system tables to publish (on enable) or to stop publishing (on disable). Each value is either a system table view name that begins with sys_ or the keyword all, in lowercase. Omitting this field, passing an empty list, or including all each select every current and future system table. Each name must be 1-128 characters, and the list can contain up to 256 names. Valid only when logDestinationType is s3table.

      Parameters:
      s3TableNames - The system tables to publish (on enable) or to stop publishing (on disable). Each value is either a system table view name that begins with sys_ or the keyword all, in lowercase. Omitting this field, passing an empty list, or including all each select every current and future system table. Each name must be 1-128 characters, and the list can contain up to 256 names. Valid only when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3TableNames

      LoggingConfiguration.Builder s3TableNames(String... s3TableNames)

      The system tables to publish (on enable) or to stop publishing (on disable). Each value is either a system table view name that begins with sys_ or the keyword all, in lowercase. Omitting this field, passing an empty list, or including all each select every current and future system table. Each name must be 1-128 characters, and the list can contain up to 256 names. Valid only when logDestinationType is s3table.

      Parameters:
      s3TableNames - The system tables to publish (on enable) or to stop publishing (on disable). Each value is either a system table view name that begins with sys_ or the keyword all, in lowercase. Omitting this field, passing an empty list, or including all each select every current and future system table. Each name must be 1-128 characters, and the list can contain up to 256 names. Valid only when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3TableKmsKeyId

      LoggingConfiguration.Builder s3TableKmsKeyId(String s3TableKmsKeyId)

      The identifier of the Key Management Service key used to encrypt the published Amazon S3 Tables data. When omitted, the data is encrypted with SSE-S3 (Amazon S3 managed keys). Valid only when logDestinationType is s3table.

      Parameters:
      s3TableKmsKeyId - The identifier of the Key Management Service key used to encrypt the published Amazon S3 Tables data. When omitted, the data is encrypted with SSE-S3 (Amazon S3 managed keys). Valid only when logDestinationType is s3table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3TableGranularity

      LoggingConfiguration.Builder s3TableGranularity(String s3TableGranularity)

      The scope of the Amazon S3 Tables destination. Valid only when logDestinationType is s3table. Valid values are case-sensitive:

      • workgroup - Scopes the published tables to Amazon Redshift Serverless with express configuration. This is the default.

      • account - Scopes the published tables to the Amazon Web Services account.

      Parameters:
      s3TableGranularity - The scope of the Amazon S3 Tables destination. Valid only when logDestinationType is s3table. Valid values are case-sensitive:

      • workgroup - Scopes the published tables to Amazon Redshift Serverless with express configuration. This is the default.

      • account - Scopes the published tables to the Amazon Web Services account.

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

      LoggingConfiguration.Builder s3TableGranularity(ExpressS3TableGranularity s3TableGranularity)

      The scope of the Amazon S3 Tables destination. Valid only when logDestinationType is s3table. Valid values are case-sensitive:

      • workgroup - Scopes the published tables to Amazon Redshift Serverless with express configuration. This is the default.

      • account - Scopes the published tables to the Amazon Web Services account.

      Parameters:
      s3TableGranularity - The scope of the Amazon S3 Tables destination. Valid only when logDestinationType is s3table. Valid values are case-sensitive:

      • workgroup - Scopes the published tables to Amazon Redshift Serverless with express configuration. This is the default.

      • account - Scopes the published tables to the Amazon Web Services account.

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