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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BucketLoggingStatus.BuilderloggingEnabled(Consumer<LoggingEnabled.Builder> loggingEnabled)Sets the value of the LoggingEnabled property for this object.BucketLoggingStatus.BuilderloggingEnabled(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
loggingEnabled
BucketLoggingStatus.Builder loggingEnabled(LoggingEnabled 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
default BucketLoggingStatus.Builder loggingEnabled(Consumer<LoggingEnabled.Builder> 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:
loggingEnabled(LoggingEnabled)
-
-