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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
EnableLoggingRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
EnableLoggingRequest.Builder |
s3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
|
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.EnableLoggingRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.