Class CfnApplicationPropsMixin.DataSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchservice.CfnApplicationPropsMixin.DataSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.DataSourceProperty>
- Enclosing interface:
CfnApplicationPropsMixin.DataSourceProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.DataSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.DataSourceProperty>
A builder for
CfnApplicationPropsMixin.DataSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataSourceArn(String dataSourceArn) Sets the value ofCfnApplicationPropsMixin.DataSourceProperty.getDataSourceArn()dataSourceDescription(String dataSourceDescription) Sets the value ofCfnApplicationPropsMixin.DataSourceProperty.getDataSourceDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSourceArn
@Stability(Stable) public CfnApplicationPropsMixin.DataSourceProperty.Builder dataSourceArn(String dataSourceArn) Sets the value ofCfnApplicationPropsMixin.DataSourceProperty.getDataSourceArn()- Parameters:
dataSourceArn- Amazon Resource Name (ARN) format.- Returns:
this
-
dataSourceDescription
@Stability(Stable) public CfnApplicationPropsMixin.DataSourceProperty.Builder dataSourceDescription(String dataSourceDescription) Sets the value ofCfnApplicationPropsMixin.DataSourceProperty.getDataSourceDescription()- Parameters:
dataSourceDescription- Detailed description of a data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.DataSourceProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.DataSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-