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