Class CfnDataSource.S3GlueDataCatalogProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearch.CfnDataSource.S3GlueDataCatalogProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.S3GlueDataCatalogProperty>
- Enclosing interface:
CfnDataSource.S3GlueDataCatalogProperty
@Stability(Stable)
public static final class CfnDataSource.S3GlueDataCatalogProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.S3GlueDataCatalogProperty>
A builder for
CfnDataSource.S3GlueDataCatalogProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSource.S3GlueDataCatalogProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
Sets the value ofCfnDataSource.S3GlueDataCatalogProperty.getRoleArn()- Parameters:
roleArn- The ARN of the IAM role that grants OpenSearch Service permission to access the Glue Data Catalog. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.S3GlueDataCatalogProperty>- Returns:
- a new instance of
CfnDataSource.S3GlueDataCatalogProperty - Throws:
NullPointerException- if any required attribute was not provided
-