Class CfnDataSourcePropsMixin.ElasticsearchConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnDataSourcePropsMixin.ElasticsearchConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ElasticsearchConfigProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.ElasticsearchConfigProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.ElasticsearchConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ElasticsearchConfigProperty>
A builder for
CfnDataSourcePropsMixin.ElasticsearchConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataSourcePropsMixin.ElasticsearchConfigProperty.getAwsRegion()build()Builds the configured instance.Sets the value ofCfnDataSourcePropsMixin.ElasticsearchConfigProperty.getEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsRegion
@Stability(Stable) public CfnDataSourcePropsMixin.ElasticsearchConfigProperty.Builder awsRegion(String awsRegion) Sets the value ofCfnDataSourcePropsMixin.ElasticsearchConfigProperty.getAwsRegion()- Parameters:
awsRegion- The AWS Region.- Returns:
this
-
endpoint
@Stability(Stable) public CfnDataSourcePropsMixin.ElasticsearchConfigProperty.Builder endpoint(String endpoint) Sets the value ofCfnDataSourcePropsMixin.ElasticsearchConfigProperty.getEndpoint()- Parameters:
endpoint- The endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.ElasticsearchConfigProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.ElasticsearchConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-