Interface BucketLoggingStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BucketLoggingStatus.Builder,,BucketLoggingStatus> SdkBuilder<BucketLoggingStatus.Builder,,BucketLoggingStatus> SdkPojo
- Enclosing class:
BucketLoggingStatus
@Mutable
@NotThreadSafe
public static interface BucketLoggingStatus.Builder
extends SdkPojo, CopyableBuilder<BucketLoggingStatus.Builder,BucketLoggingStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BucketLoggingStatus.BuilderloggingEnabled(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
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
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.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:
-