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