public static interface EnableLoggingRequest.Builder extends RedshiftRequest.Builder, CopyableBuilder<EnableLoggingRequest.Builder,EnableLoggingRequest>
Modifier and Type | Method and Description |
---|---|
EnableLoggingRequest.Builder |
bucketName(String bucketName)
The name of an existing S3 bucket where the log files are to be stored.
|
EnableLoggingRequest.Builder |
clusterIdentifier(String clusterIdentifier)
The identifier of the cluster on which logging is to be started.
|
EnableLoggingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
EnableLoggingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
EnableLoggingRequest.Builder |
s3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
|
build
overrideConfiguration
copy
applyMutation, build
EnableLoggingRequest.Builder clusterIdentifier(String clusterIdentifier)
The identifier of the cluster on which logging is to be started.
Example: examplecluster
clusterIdentifier
- The identifier of the cluster on which logging is to be started.
Example: examplecluster
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
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
EnableLoggingRequest.Builder s3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
Constraints:
Cannot exceed 512 characters
Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
x00 to x20
x22
x27
x5c
x7f or larger
s3KeyPrefix
- The prefix applied to the log file names.
Constraints:
Cannot exceed 512 characters
Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
x00 to x20
x22
x27
x5c
x7f or larger
EnableLoggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.EnableLoggingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.