Interface DescribeLoggingStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeLoggingStatusResponse.Builder,,DescribeLoggingStatusResponse> RedshiftResponse.Builder,SdkBuilder<DescribeLoggingStatusResponse.Builder,,DescribeLoggingStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeLoggingStatusResponse
-
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.s3Tables(Consumer<S3TablePublishStatus.Builder> s3Tables) The status of system table publishing to S3 Tables.s3Tables(S3TablePublishStatus s3Tables) The status of system table publishing to S3 Tables.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, sdkFieldNameToField, 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
DescribeLoggingStatusResponse.Builder lastSuccessfulDeliveryTime(Instant 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
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 being published.- Parameters:
logExports- The collection of exported log types. WhenLogDestinationTypeiss3orcloudwatch, possible values areconnectionlog,useractivitylog, anduserlog. WhenLogDestinationTypeiss3table, the values are the names of the system tables being published.- 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 being published.- Parameters:
logExports- The collection of exported log types. WhenLogDestinationTypeiss3orcloudwatch, possible values areconnectionlog,useractivitylog, anduserlog. WhenLogDestinationTypeiss3table, the values are the names of the system tables being published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Tables
The status of system table publishing to S3 Tables. This field is populated only when system table publishing is active.
- Parameters:
s3Tables- The status of system table publishing to S3 Tables. This field is populated only when system table publishing is active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Tables
default DescribeLoggingStatusResponse.Builder s3Tables(Consumer<S3TablePublishStatus.Builder> s3Tables) The status of system table publishing to S3 Tables. This field is populated only when system table publishing is active.
This is a convenience method that creates an instance of theS3TablePublishStatus.Builderavoiding the need to create one manually viaS3TablePublishStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Tables(S3TablePublishStatus).- Parameters:
s3Tables- a consumer that will call methods onS3TablePublishStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-