Interface ImageConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImageConfiguration.Builder,
,ImageConfiguration> SdkBuilder<ImageConfiguration.Builder,
,ImageConfiguration> SdkPojo
- Enclosing class:
ImageConfiguration
@Mutable
@NotThreadSafe
public static interface ImageConfiguration.Builder
extends SdkPojo, CopyableBuilder<ImageConfiguration.Builder,ImageConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImageConfiguration.Builder
source
(Consumer<ImageSource.Builder> source) The source of the image.source
(ImageSource source) The source of the image.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 Details
-
source
The source of the image.
- Parameters:
source
- The source of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the image.
This is a convenience method that creates an instance of theImageSource.Builder
avoiding the need to create one manually viaImageSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(ImageSource)
.- Parameters:
source
- a consumer that will call methods onImageSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-