Interface EnableLoggingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<EnableLoggingResponse.Builder,,EnableLoggingResponse> RedshiftResponse.Builder,SdkBuilder<EnableLoggingResponse.Builder,,EnableLoggingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
EnableLoggingResponse
public static interface EnableLoggingResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<EnableLoggingResponse.Builder,EnableLoggingResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) The name of the S3 bucket where the log files are stored.lastFailureMessage(String lastFailureMessage) The message indicating that logs failed to be delivered.lastFailureTime(Instant lastFailureTime) The last time when logs failed to be delivered.lastSuccessfulDeliveryTime(Instant lastSuccessfulDeliveryTime) The last time that logs were delivered.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.loggingEnabled(Boolean loggingEnabled) trueif logging is on,falseif logging is off.s3KeyPrefix(String s3KeyPrefix) The prefix applied to the log file names.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
loggingEnabled
trueif logging is on,falseif logging is off.- Parameters:
loggingEnabled-trueif logging is on,falseif logging is off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketName
The name of the S3 bucket where the log files are stored.
- Parameters:
bucketName- The name of the S3 bucket where the log files are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3KeyPrefix
The prefix applied to the log file names.
- Parameters:
s3KeyPrefix- The prefix applied to the log file names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSuccessfulDeliveryTime
The last time that logs were delivered.
- Parameters:
lastSuccessfulDeliveryTime- The last time that logs were delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastFailureTime
The last time when logs failed to be delivered.
- Parameters:
lastFailureTime- The last time when logs failed to be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastFailureMessage
The message indicating that logs failed to be delivered.
- Parameters:
lastFailureMessage- The message indicating that logs failed to be delivered.- 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
s3andcloudwatch.- Parameters:
logDestinationType- The log destination type. An enum with possible values ofs3andcloudwatch.- 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
s3andcloudwatch.- Parameters:
logDestinationType- The log destination type. An enum with possible values ofs3andcloudwatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-