Class DataSourceReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.datazone.DataSourceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataSourceReference>
- Enclosing interface:
DataSourceReference
@Stability(Stable)
public static final class DataSourceReference.Builder
extends Object
implements software.amazon.jsii.Builder<DataSourceReference>
A builder for
DataSourceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataSourceId(String dataSourceId) Sets the value ofDataSourceReference.getDataSourceId()Sets the value ofDataSourceReference.getDomainId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSourceId
Sets the value ofDataSourceReference.getDataSourceId()- Parameters:
dataSourceId- The Id of the DataSource resource. This parameter is required.- Returns:
this
-
domainId
Sets the value ofDataSourceReference.getDomainId()- Parameters:
domainId- The DomainId of the DataSource resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataSourceReference>- Returns:
- a new instance of
DataSourceReference - Throws:
NullPointerException- if any required attribute was not provided
-