Interface TableBucketLoggingStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableBucketLoggingStatus.Builder,,TableBucketLoggingStatus> SdkBuilder<TableBucketLoggingStatus.Builder,,TableBucketLoggingStatus> SdkPojo
- Enclosing class:
TableBucketLoggingStatus
@Mutable
@NotThreadSafe
public static interface TableBucketLoggingStatus.Builder
extends SdkPojo, CopyableBuilder<TableBucketLoggingStatus.Builder,TableBucketLoggingStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TableBucketLoggingStatus.BuilderloggingEnabled(Consumer<LoggingEnabled.Builder> loggingEnabled) Where logs for the table bucket are delivered and how the log objects are named.loggingEnabled(LoggingEnabled loggingEnabled) Where logs for the table bucket are delivered and how the log objects are named.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
loggingEnabled
Where logs for the table bucket are delivered and how the log objects are named. Must be populated to enable logging.
- Parameters:
loggingEnabled- Where logs for the table bucket are delivered and how the log objects are named. Must be populated to enable logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingEnabled
default TableBucketLoggingStatus.Builder loggingEnabled(Consumer<LoggingEnabled.Builder> loggingEnabled) Where logs for the table bucket are delivered and how the log objects are named. Must be populated to enable logging.
This is a convenience method that creates an instance of theLoggingEnabled.Builderavoiding the need to create one manually viaLoggingEnabled.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingEnabled(LoggingEnabled).- Parameters:
loggingEnabled- a consumer that will call methods onLoggingEnabled.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-