Interface SheetImage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SheetImage.Builder,SheetImage>,SdkBuilder<SheetImage.Builder,SheetImage>,SdkPojo
- Enclosing class:
- SheetImage
@Mutable @NotThreadSafe public static interface SheetImage.Builder extends SdkPojo, CopyableBuilder<SheetImage.Builder,SheetImage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SheetImage.Builderactions(Collection<ImageCustomAction> actions)A list of custom actions that are configured for an image.SheetImage.Builderactions(Consumer<ImageCustomAction.Builder>... actions)A list of custom actions that are configured for an image.SheetImage.Builderactions(ImageCustomAction... actions)A list of custom actions that are configured for an image.SheetImage.BuilderimageContentAltText(String imageContentAltText)The alt text for the image.default SheetImage.Builderinteractions(Consumer<ImageInteractionOptions.Builder> interactions)The general image interactions setup for an image.SheetImage.Builderinteractions(ImageInteractionOptions interactions)The general image interactions setup for an image.default SheetImage.Builderscaling(Consumer<SheetImageScalingConfiguration.Builder> scaling)Determines how the image is scaled.SheetImage.Builderscaling(SheetImageScalingConfiguration scaling)Determines how the image is scaled.SheetImage.BuildersheetImageId(String sheetImageId)The ID of the sheet image.default SheetImage.Buildersource(Consumer<SheetImageSource.Builder> source)The source of the image.SheetImage.Buildersource(SheetImageSource source)The source of the image.default SheetImage.Buildertooltip(Consumer<SheetImageTooltipConfiguration.Builder> tooltip)The tooltip to be shown when hovering over the image.SheetImage.Buildertooltip(SheetImageTooltipConfiguration tooltip)The tooltip to be shown when hovering over 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 Detail
-
sheetImageId
SheetImage.Builder sheetImageId(String sheetImageId)
The ID of the sheet image.
- Parameters:
sheetImageId- The ID of the sheet image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
SheetImage.Builder source(SheetImageSource 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
default SheetImage.Builder source(Consumer<SheetImageSource.Builder> source)
The source of the image.
This is a convenience method that creates an instance of theSheetImageSource.Builderavoiding the need to create one manually viaSheetImageSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(SheetImageSource).- Parameters:
source- a consumer that will call methods onSheetImageSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(SheetImageSource)
-
scaling
SheetImage.Builder scaling(SheetImageScalingConfiguration scaling)
Determines how the image is scaled.
- Parameters:
scaling- Determines how the image is scaled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaling
default SheetImage.Builder scaling(Consumer<SheetImageScalingConfiguration.Builder> scaling)
Determines how the image is scaled.
This is a convenience method that creates an instance of theSheetImageScalingConfiguration.Builderavoiding the need to create one manually viaSheetImageScalingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscaling(SheetImageScalingConfiguration).- Parameters:
scaling- a consumer that will call methods onSheetImageScalingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scaling(SheetImageScalingConfiguration)
-
tooltip
SheetImage.Builder tooltip(SheetImageTooltipConfiguration tooltip)
The tooltip to be shown when hovering over the image.
- Parameters:
tooltip- The tooltip to be shown when hovering over the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tooltip
default SheetImage.Builder tooltip(Consumer<SheetImageTooltipConfiguration.Builder> tooltip)
The tooltip to be shown when hovering over the image.
This is a convenience method that creates an instance of theSheetImageTooltipConfiguration.Builderavoiding the need to create one manually viaSheetImageTooltipConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totooltip(SheetImageTooltipConfiguration).- Parameters:
tooltip- a consumer that will call methods onSheetImageTooltipConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tooltip(SheetImageTooltipConfiguration)
-
imageContentAltText
SheetImage.Builder imageContentAltText(String imageContentAltText)
The alt text for the image.
- Parameters:
imageContentAltText- The alt text for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactions
SheetImage.Builder interactions(ImageInteractionOptions interactions)
The general image interactions setup for an image.
- Parameters:
interactions- The general image interactions setup for an image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactions
default SheetImage.Builder interactions(Consumer<ImageInteractionOptions.Builder> interactions)
The general image interactions setup for an image.
This is a convenience method that creates an instance of theImageInteractionOptions.Builderavoiding the need to create one manually viaImageInteractionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointeractions(ImageInteractionOptions).- Parameters:
interactions- a consumer that will call methods onImageInteractionOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
interactions(ImageInteractionOptions)
-
actions
SheetImage.Builder actions(Collection<ImageCustomAction> actions)
A list of custom actions that are configured for an image.
- Parameters:
actions- A list of custom actions that are configured for an image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
SheetImage.Builder actions(ImageCustomAction... actions)
A list of custom actions that are configured for an image.
- Parameters:
actions- A list of custom actions that are configured for an image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
SheetImage.Builder actions(Consumer<ImageCustomAction.Builder>... actions)
A list of custom actions that are configured for an image.
This is a convenience method that creates an instance of theImageCustomAction.Builderavoiding the need to create one manually viaImageCustomAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - Parameters:
actions- a consumer that will call methods onImageCustomAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actions(java.util.Collection)
-
-