Class CfnAnalysis.CustomContentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.CustomContentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.CustomContentConfigurationProperty>
- Enclosing interface:
CfnAnalysis.CustomContentConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.CustomContentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.CustomContentConfigurationProperty>
A builder for
CfnAnalysis.CustomContentConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contentType(String contentType) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getContentType()contentUrl(String contentUrl) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getContentUrl()imageScaling(String imageScaling) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getImageScaling()interactions(IResolvable interactions) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getInteractions()interactions(CfnAnalysis.VisualInteractionOptionsProperty interactions) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getInteractions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentType
@Stability(Stable) public CfnAnalysis.CustomContentConfigurationProperty.Builder contentType(String contentType) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getContentType()- Parameters:
contentType- The content type of the custom content visual. You can use this to have the visual render as an image.- Returns:
this
-
contentUrl
@Stability(Stable) public CfnAnalysis.CustomContentConfigurationProperty.Builder contentUrl(String contentUrl) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getContentUrl()- Parameters:
contentUrl- The input URL that links to the custom content that you want in the custom visual.- Returns:
this
-
imageScaling
@Stability(Stable) public CfnAnalysis.CustomContentConfigurationProperty.Builder imageScaling(String imageScaling) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getImageScaling()- Parameters:
imageScaling- The sizing options for the size of the custom content visual. This structure is required when theContentTypeof the visual is'IMAGE'.- Returns:
this
-
interactions
@Stability(Stable) public CfnAnalysis.CustomContentConfigurationProperty.Builder interactions(IResolvable interactions) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getInteractions()- Parameters:
interactions- The general visual interactions setup for a visual.- Returns:
this
-
interactions
@Stability(Stable) public CfnAnalysis.CustomContentConfigurationProperty.Builder interactions(CfnAnalysis.VisualInteractionOptionsProperty interactions) Sets the value ofCfnAnalysis.CustomContentConfigurationProperty.getInteractions()- Parameters:
interactions- The general visual interactions setup for a visual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.CustomContentConfigurationProperty>- Returns:
- a new instance of
CfnAnalysis.CustomContentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-