Interface SheetImage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SheetImage.Builder,,SheetImage> SdkBuilder<SheetImage.Builder,,SheetImage> SdkPojo
- Enclosing class:
SheetImage
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<ImageCustomAction> actions) A list of custom actions that are configured for an image.actions(Consumer<ImageCustomAction.Builder>... actions) A list of custom actions that are configured for an image.actions(ImageCustomAction... actions) A list of custom actions that are configured for an image.imageContentAltText(String imageContentAltText) The alt text for the image.default SheetImage.Builderinteractions(Consumer<ImageInteractionOptions.Builder> interactions) The general image interactions setup for an image.interactions(ImageInteractionOptions interactions) The general image interactions setup for an image.default SheetImage.BuilderDetermines how the image is scaled.scaling(SheetImageScalingConfiguration scaling) Determines how the image is scaled.sheetImageId(String sheetImageId) The ID of the sheet image.default SheetImage.Buildersource(Consumer<SheetImageSource.Builder> source) The source of the image.source(SheetImageSource source) The source of the image.default SheetImage.BuilderThe tooltip to be shown when hovering over the image.tooltip(SheetImageTooltipConfiguration tooltip) The tooltip to be shown when hovering over the image.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
-
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
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 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:
-
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
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:
-
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
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:
-
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
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
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:
-
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
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
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 toactions(List<ImageCustomAction>).- 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:
-