Class CfnThemePropsMixin.ThemeErrorProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnThemePropsMixin.ThemeErrorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThemePropsMixin.ThemeErrorProperty>
- Enclosing interface:
CfnThemePropsMixin.ThemeErrorProperty
@Stability(Stable)
public static final class CfnThemePropsMixin.ThemeErrorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThemePropsMixin.ThemeErrorProperty>
A builder for
CfnThemePropsMixin.ThemeErrorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnThemePropsMixin.ThemeErrorProperty.getMessage()Sets the value ofCfnThemePropsMixin.ThemeErrorProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
message
Sets the value ofCfnThemePropsMixin.ThemeErrorProperty.getMessage()- Parameters:
message- The error message.- Returns:
this
-
type
Sets the value ofCfnThemePropsMixin.ThemeErrorProperty.getType()- Parameters:
type- The type of error.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThemePropsMixin.ThemeErrorProperty>- Returns:
- a new instance of
CfnThemePropsMixin.ThemeErrorProperty - Throws:
NullPointerException- if any required attribute was not provided
-