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