Class CfnDashboardPropsMixin.WidgetConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnDashboardPropsMixin.WidgetConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.WidgetConfigProperty>
- Enclosing interface:
CfnDashboardPropsMixin.WidgetConfigProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.WidgetConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.WidgetConfigProperty>
A builder for
CfnDashboardPropsMixin.WidgetConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.displayConfig(CfnDashboardPropsMixin.DisplayConfigProperty displayConfig) Sets the value ofCfnDashboardPropsMixin.WidgetConfigProperty.getDisplayConfig()displayConfig(IResolvable displayConfig) Sets the value ofCfnDashboardPropsMixin.WidgetConfigProperty.getDisplayConfig()queryParameters(CfnDashboardPropsMixin.QueryParametersProperty queryParameters) Sets the value ofCfnDashboardPropsMixin.WidgetConfigProperty.getQueryParameters()queryParameters(IResolvable queryParameters) Sets the value ofCfnDashboardPropsMixin.WidgetConfigProperty.getQueryParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayConfig
@Stability(Stable) public CfnDashboardPropsMixin.WidgetConfigProperty.Builder displayConfig(IResolvable displayConfig) Sets the value ofCfnDashboardPropsMixin.WidgetConfigProperty.getDisplayConfig()- Parameters:
displayConfig- the value to be set.- Returns:
this
-
displayConfig
@Stability(Stable) public CfnDashboardPropsMixin.WidgetConfigProperty.Builder displayConfig(CfnDashboardPropsMixin.DisplayConfigProperty displayConfig) Sets the value ofCfnDashboardPropsMixin.WidgetConfigProperty.getDisplayConfig()- Parameters:
displayConfig- the value to be set.- Returns:
this
-
queryParameters
@Stability(Stable) public CfnDashboardPropsMixin.WidgetConfigProperty.Builder queryParameters(IResolvable queryParameters) Sets the value ofCfnDashboardPropsMixin.WidgetConfigProperty.getQueryParameters()- Parameters:
queryParameters- the value to be set.- Returns:
this
-
queryParameters
@Stability(Stable) public CfnDashboardPropsMixin.WidgetConfigProperty.Builder queryParameters(CfnDashboardPropsMixin.QueryParametersProperty queryParameters) Sets the value ofCfnDashboardPropsMixin.WidgetConfigProperty.getQueryParameters()- Parameters:
queryParameters- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.WidgetConfigProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.WidgetConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-