Class ElasticsearchDataSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.ElasticsearchDataSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElasticsearchDataSourceProps>
- Enclosing interface:
ElasticsearchDataSourceProps
@Stability(Deprecated)
@Deprecated
public static final class ElasticsearchDataSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<ElasticsearchDataSourceProps>
Deprecated.
A builder for
ElasticsearchDataSourceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapi
(IGraphqlApi api) Deprecated.Sets the value ofBaseDataSourceProps.getApi()
build()
Deprecated.description
(String description) Deprecated.Sets the value ofBaseDataSourceProps.getDescription()
Deprecated.Deprecated.Sets the value ofBaseDataSourceProps.getName()
serviceRole
(IRole serviceRole) Deprecated.Sets the value ofBackedDataSourceProps.getServiceRole()
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
domain
@Stability(Deprecated) @Deprecated public ElasticsearchDataSourceProps.Builder domain(IDomain domain) Deprecated.Sets the value ofElasticsearchDataSourceProps.getDomain()
- Parameters:
domain
- The elasticsearch domain containing the endpoint for the data source. This parameter is required.- Returns:
this
-
serviceRole
Deprecated.Sets the value ofBackedDataSourceProps.getServiceRole()
- Parameters:
serviceRole
- The IAM service role to be assumed by AppSync to interact with the data source.- Returns:
this
-
api
Deprecated.Sets the value ofBaseDataSourceProps.getApi()
- Parameters:
api
- The API to attach this data source to. This parameter is required.- Returns:
this
-
description
@Stability(Experimental) public ElasticsearchDataSourceProps.Builder description(String description) Deprecated.Sets the value ofBaseDataSourceProps.getDescription()
- Parameters:
description
- the description of the data source.- Returns:
this
-
name
Deprecated.Sets the value ofBaseDataSourceProps.getName()
- Parameters:
name
- The name of the data source.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ElasticsearchDataSourceProps>
- Returns:
- a new instance of
ElasticsearchDataSourceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-