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