Class CfnTemplatePropsMixin.SheetImageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.SheetImageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.SheetImageProperty>
- Enclosing interface:
CfnTemplatePropsMixin.SheetImageProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.SheetImageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.SheetImageProperty>
A builder for
CfnTemplatePropsMixin.SheetImageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTemplatePropsMixin.SheetImageProperty.getActions()actions(IResolvable actions) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getActions()build()Builds the configured instance.imageContentAltText(String imageContentAltText) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getImageContentAltText()Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getInteractions()interactions(IResolvable interactions) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getInteractions()Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getScaling()scaling(IResolvable scaling) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getScaling()sheetImageId(String sheetImageId) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getSheetImageId()Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getSource()source(IResolvable source) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getSource()Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getTooltip()tooltip(IResolvable tooltip) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getTooltip()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder actions(IResolvable actions) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getActions()- Parameters:
actions- A list of custom actions that are configured for an image.- Returns:
this
-
actions
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder actions(List<? extends Object> actions) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getActions()- Parameters:
actions- A list of custom actions that are configured for an image.- Returns:
this
-
imageContentAltText
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder imageContentAltText(String imageContentAltText) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getImageContentAltText()- Parameters:
imageContentAltText- The alt text for the image.- Returns:
this
-
interactions
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder interactions(IResolvable interactions) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getInteractions()- Parameters:
interactions- The general image interactions setup for an image.- Returns:
this
-
interactions
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder interactions(CfnTemplatePropsMixin.ImageInteractionOptionsProperty interactions) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getInteractions()- Parameters:
interactions- The general image interactions setup for an image.- Returns:
this
-
scaling
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder scaling(IResolvable scaling) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getScaling()- Parameters:
scaling- Determines how the image is scaled.- Returns:
this
-
scaling
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder scaling(CfnTemplatePropsMixin.SheetImageScalingConfigurationProperty scaling) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getScaling()- Parameters:
scaling- Determines how the image is scaled.- Returns:
this
-
sheetImageId
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder sheetImageId(String sheetImageId) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getSheetImageId()- Parameters:
sheetImageId- The ID of the sheet image.- Returns:
this
-
source
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder source(IResolvable source) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getSource()- Parameters:
source- The source of the image.- Returns:
this
-
source
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder source(CfnTemplatePropsMixin.SheetImageSourceProperty source) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getSource()- Parameters:
source- The source of the image.- Returns:
this
-
tooltip
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder tooltip(IResolvable tooltip) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getTooltip()- Parameters:
tooltip- The tooltip to be shown when hovering over the image.- Returns:
this
-
tooltip
@Stability(Stable) public CfnTemplatePropsMixin.SheetImageProperty.Builder tooltip(CfnTemplatePropsMixin.SheetImageTooltipConfigurationProperty tooltip) Sets the value ofCfnTemplatePropsMixin.SheetImageProperty.getTooltip()- Parameters:
tooltip- The tooltip to be shown when hovering over the image.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.SheetImageProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.SheetImageProperty - Throws:
NullPointerException- if any required attribute was not provided
-