Interface BucketLoggingStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BucketLoggingStatus.Builder,
,BucketLoggingStatus> SdkBuilder<BucketLoggingStatus.Builder,
,BucketLoggingStatus> SdkPojo
- Enclosing class:
BucketLoggingStatus
public static interface BucketLoggingStatus.Builder
extends SdkPojo, CopyableBuilder<BucketLoggingStatus.Builder,BucketLoggingStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BucketLoggingStatus.Builder
loggingEnabled
(Consumer<LoggingEnabled.Builder> loggingEnabled) Sets the value of the LoggingEnabled property for this object.loggingEnabled
(LoggingEnabled loggingEnabled) Sets the value of the LoggingEnabled property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
loggingEnabled
Sets the value of the LoggingEnabled property for this object.- Parameters:
loggingEnabled
- The new value for the LoggingEnabled property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingEnabled
Sets the value of the LoggingEnabled property for this object. This is a convenience method that creates an instance of theLoggingEnabled.Builder
avoiding the need to create one manually viaLoggingEnabled.builder()
.When the
Consumer
completes,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:
-