Class CfnDashboard.CustomContentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.CustomContentConfigurationProperty>
- Enclosing interface:
CfnDashboard.CustomContentConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.CustomContentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.CustomContentConfigurationProperty>
A builder for
CfnDashboard.CustomContentConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.contentType
(String contentType) Sets the value ofCfnDashboard.CustomContentConfigurationProperty.getContentType()
contentUrl
(String contentUrl) Sets the value ofCfnDashboard.CustomContentConfigurationProperty.getContentUrl()
imageScaling
(String imageScaling) Sets the value ofCfnDashboard.CustomContentConfigurationProperty.getImageScaling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentType
@Stability(Stable) public CfnDashboard.CustomContentConfigurationProperty.Builder contentType(String contentType) Sets the value ofCfnDashboard.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 CfnDashboard.CustomContentConfigurationProperty.Builder contentUrl(String contentUrl) Sets the value ofCfnDashboard.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 CfnDashboard.CustomContentConfigurationProperty.Builder imageScaling(String imageScaling) Sets the value ofCfnDashboard.CustomContentConfigurationProperty.getImageScaling()
- Parameters:
imageScaling
- The sizing options for the size of the custom content visual. This structure is required when theContentType
of the visual is'IMAGE'
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.CustomContentConfigurationProperty>
- Returns:
- a new instance of
CfnDashboard.CustomContentConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-