Class CfnDataSource.Builder
java.lang.Object
software.amazon.awscdk.services.opensearch.CfnDataSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource>
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static final class CfnDataSource.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource>
A fluent builder for
CfnDataSource.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDataSource.BuilderdataSourceType(IResolvable dataSourceType) The type of data source.dataSourceType(CfnDataSource.DataSourceTypeProperty dataSourceType) The type of data source.description(String description) A description of the data source.domainName(String domainName) The name of the OpenSearch Service domain.The name of the data source.
-
Method Details
-
create
@Stability(Stable) public static CfnDataSource.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDataSource.Builder.
-
dataSourceType
The type of data source.- Parameters:
dataSourceType- The type of data source. This parameter is required.- Returns:
this- See Also:
-
dataSourceType
@Stability(Stable) public CfnDataSource.Builder dataSourceType(CfnDataSource.DataSourceTypeProperty dataSourceType) The type of data source.- Parameters:
dataSourceType- The type of data source. This parameter is required.- Returns:
this- See Also:
-
domainName
The name of the OpenSearch Service domain.- Parameters:
domainName- The name of the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
name
The name of the data source.- Parameters:
name- The name of the data source. This parameter is required.- Returns:
this- See Also:
-
description
A description of the data source.- Parameters:
description- A description of the data source. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource>- Returns:
- a newly built instance of
CfnDataSource.
-