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