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