@Deprecated
public static final class ElasticsearchDataSourceProps.Builder
extends java.lang.Object
ElasticsearchDataSourceProps
Constructor and Description |
---|
Builder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ElasticsearchDataSourceProps.Builder |
api(IGraphqlApi api)
Deprecated.
Sets the value of
BaseDataSourceProps.getApi() |
ElasticsearchDataSourceProps |
build()
Deprecated.
|
ElasticsearchDataSourceProps.Builder |
description(java.lang.String description)
Deprecated.
Sets the value of
BaseDataSourceProps.getDescription() |
ElasticsearchDataSourceProps.Builder |
domain(IDomain domain)
Deprecated.
|
ElasticsearchDataSourceProps.Builder |
name(java.lang.String name)
Deprecated.
Sets the value of
BaseDataSourceProps.getName() |
ElasticsearchDataSourceProps.Builder |
serviceRole(IRole serviceRole)
Deprecated.
Sets the value of
BackedDataSourceProps.getServiceRole() |
@Deprecated public ElasticsearchDataSourceProps.Builder domain(IDomain domain)
ElasticsearchDataSourceProps.getDomain()
domain
- The elasticsearch domain containing the endpoint for the data source. This parameter is required.this
public ElasticsearchDataSourceProps.Builder serviceRole(IRole serviceRole)
BackedDataSourceProps.getServiceRole()
serviceRole
- The IAM service role to be assumed by AppSync to interact with the data source.this
public ElasticsearchDataSourceProps.Builder api(IGraphqlApi api)
BaseDataSourceProps.getApi()
api
- The API to attach this data source to. This parameter is required.this
public ElasticsearchDataSourceProps.Builder description(java.lang.String description)
BaseDataSourceProps.getDescription()
description
- the description of the data source.this
public ElasticsearchDataSourceProps.Builder name(java.lang.String name)
BaseDataSourceProps.getName()
name
- The name of the data source.this
@Deprecated public ElasticsearchDataSourceProps build()
ElasticsearchDataSourceProps
java.lang.NullPointerException
- if any required attribute was not provided