Class CfnDashboardPropsMixin.WidgetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnDashboardPropsMixin.WidgetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.WidgetProperty>
- Enclosing interface:
CfnDashboardPropsMixin.WidgetProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.WidgetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.WidgetProperty>
A builder for
CfnDashboardPropsMixin.WidgetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getConfigs()configs(IResolvable configs) Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getConfigs()description(String description) Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getDescription()Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getHeight()horizontalOffset(Number horizontalOffset) Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getHorizontalOffset()Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getTitle()Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getWidth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configs
@Stability(Stable) public CfnDashboardPropsMixin.WidgetProperty.Builder configs(IResolvable configs) Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getConfigs()- Parameters:
configs- the value to be set.- Returns:
this
-
configs
@Stability(Stable) public CfnDashboardPropsMixin.WidgetProperty.Builder configs(List<? extends Object> configs) Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getConfigs()- Parameters:
configs- the value to be set.- Returns:
this
-
description
@Stability(Stable) public CfnDashboardPropsMixin.WidgetProperty.Builder description(String description) Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
height
Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getHeight()- Parameters:
height- the value to be set.- Returns:
this
-
horizontalOffset
@Stability(Stable) public CfnDashboardPropsMixin.WidgetProperty.Builder horizontalOffset(Number horizontalOffset) Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getHorizontalOffset()- Parameters:
horizontalOffset- the value to be set.- Returns:
this
-
title
Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getTitle()- Parameters:
title- the value to be set.- Returns:
this
-
width
Sets the value ofCfnDashboardPropsMixin.WidgetProperty.getWidth()- Parameters:
width- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.WidgetProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.WidgetProperty - Throws:
NullPointerException- if any required attribute was not provided
-