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