Class DataSourceOptions.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.DataSourceOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataSourceOptions>
- Enclosing interface:
- DataSourceOptions
@Stability(Experimental)
public static final class DataSourceOptions.Builder
extends Object
implements software.amazon.jsii.Builder<DataSourceOptions>
A builder for
DataSourceOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofDataSourceOptions.getDescription()Sets the value ofDataSourceOptions.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofDataSourceOptions.getDescription()- Parameters:
description- The description of the data source.- Returns:
this
-
name
Sets the value ofDataSourceOptions.getName()- Parameters:
name- The name of the data source, overrides the id given by cdk.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataSourceOptions>- Returns:
- a new instance of
DataSourceOptions - Throws:
NullPointerException- if any required attribute was not provided
-