Interface UpdatedAutoDetectionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedAutoDetectionConfiguration.Builder,,UpdatedAutoDetectionConfiguration> SdkBuilder<UpdatedAutoDetectionConfiguration.Builder,,UpdatedAutoDetectionConfiguration> SdkPojo
- Enclosing class:
UpdatedAutoDetectionConfiguration
@Mutable
@NotThreadSafe
public static interface UpdatedAutoDetectionConfiguration.Builder
extends SdkPojo, CopyableBuilder<UpdatedAutoDetectionConfiguration.Builder,UpdatedAutoDetectionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionoptionalValue(Consumer<AutoDetectionConfiguration.Builder> optionalValue) The value to set for this field.optionalValue(AutoDetectionConfiguration optionalValue) The value to set for this field.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
-
optionalValue
The value to set for this field. Omit the wrapper to leave the field unchanged.
- Parameters:
optionalValue- The value to set for this field. Omit the wrapper to leave the field unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalValue
default UpdatedAutoDetectionConfiguration.Builder optionalValue(Consumer<AutoDetectionConfiguration.Builder> optionalValue) The value to set for this field. Omit the wrapper to leave the field unchanged.
This is a convenience method that creates an instance of theAutoDetectionConfiguration.Builderavoiding the need to create one manually viaAutoDetectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(AutoDetectionConfiguration).- Parameters:
optionalValue- a consumer that will call methods onAutoDetectionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-