Interface EnableLoggingRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<EnableLoggingRequest.Builder,EnableLoggingRequest>
,RedshiftRequest.Builder
,SdkBuilder<EnableLoggingRequest.Builder,EnableLoggingRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- EnableLoggingRequest
public static interface EnableLoggingRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<EnableLoggingRequest.Builder,EnableLoggingRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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.
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
-
- Parameters:
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
-
-
- 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
andcloudwatch
.- Parameters:
logDestinationType
- The log destination type. An enum with possible values ofs3
andcloudwatch
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogDestinationType
,LogDestinationType
-
logDestinationType
EnableLoggingRequest.Builder logDestinationType(LogDestinationType logDestinationType)
The log destination type. An enum with possible values of
s3
andcloudwatch
.- Parameters:
logDestinationType
- The log destination type. An enum with possible values ofs3
andcloudwatch
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogDestinationType
,LogDestinationType
-
logExports
EnableLoggingRequest.Builder logExports(Collection<String> logExports)
The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
.- Parameters:
logExports
- The collection of exported log types. Possible values areconnectionlog
,useractivitylog
, anduserlog
.- 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
, anduserlog
.- Parameters:
logExports
- The collection of exported log types. Possible values areconnectionlog
,useractivitylog
, anduserlog
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnableLoggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
EnableLoggingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-