Interface EnableLoggingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<EnableLoggingRequest.Builder,,EnableLoggingRequest> RedshiftRequest.Builder,SdkBuilder<EnableLoggingRequest.Builder,,EnableLoggingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
EnableLoggingRequest
-
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) The name of an existing S3 bucket where the log files are to be stored.clusterIdentifier(String clusterIdentifier) The identifier of the cluster on which logging is to be started.logDestinationType(String logDestinationType) The log destination type.logDestinationType(LogDestinationType logDestinationType) The log destination type.logExports(String... logExports) The collection of exported log types.logExports(Collection<String> logExports) The collection of exported log types.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.s3KeyPrefix(String s3KeyPrefix) The prefix applied to the log file names.s3TableGranularity(String s3TableGranularity) The scope of system table publishing.s3TableKmsKeyId(String s3TableKmsKeyId) The identifier of a customer managed KMS key used to encrypt the S3 tables.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
The log destination type. An enum with possible values of
s3,cloudwatch, ands3table.- Parameters:
logDestinationType- The log destination type. An enum with possible values ofs3,cloudwatch, ands3table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logDestinationType
The log destination type. An enum with possible values of
s3,cloudwatch, ands3table.- Parameters:
logDestinationType- The log destination type. An enum with possible values ofs3,cloudwatch, ands3table.- 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
LogDestinationTypeiss3orcloudwatch, possible values areconnectionlog,useractivitylog, anduserlog. WhenLogDestinationTypeiss3table, the values are the names of the system tables to publish. Omitting this parameter, passing an empty list, or including the valueallpublishes all current and future system tables.- Parameters:
logExports- The collection of exported log types. WhenLogDestinationTypeiss3orcloudwatch, possible values areconnectionlog,useractivitylog, anduserlog. WhenLogDestinationTypeiss3table, the values are the names of the system tables to publish. Omitting this parameter, passing an empty list, or including the valueallpublishes all current and future system tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logExports
The collection of exported log types. When
LogDestinationTypeiss3orcloudwatch, possible values areconnectionlog,useractivitylog, anduserlog. WhenLogDestinationTypeiss3table, the values are the names of the system tables to publish. Omitting this parameter, passing an empty list, or including the valueallpublishes all current and future system tables.- Parameters:
logExports- The collection of exported log types. WhenLogDestinationTypeiss3orcloudwatch, possible values areconnectionlog,useractivitylog, anduserlog. WhenLogDestinationTypeiss3table, the values are the names of the system tables to publish. Omitting this parameter, passing an empty list, or including the valueallpublishes all current and future system tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3TableKmsKeyId
The identifier of a customer managed KMS key used to encrypt the S3 tables. This parameter is valid only when
LogDestinationTypeiss3table.- Parameters:
s3TableKmsKeyId- The identifier of a customer managed KMS key used to encrypt the S3 tables. This parameter is valid only whenLogDestinationTypeiss3table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3TableGranularity
The scope of system table publishing. Valid values are
clusterandaccount. A value ofclusterscopes publishing to the individual cluster. A value ofaccountscopes publishing to the Amazon Web Services account. This parameter is valid only whenLogDestinationTypeiss3table.- Parameters:
s3TableGranularity- The scope of system table publishing. Valid values areclusterandaccount. A value ofclusterscopes publishing to the individual cluster. A value ofaccountscopes publishing to the Amazon Web Services account. This parameter is valid only whenLogDestinationTypeiss3table.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
EnableLoggingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-