Interface GlueConnectionMapping.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GlueConnectionMapping.Builder,,GlueConnectionMapping> SdkBuilder<GlueConnectionMapping.Builder,,GlueConnectionMapping> SdkPojo
- Enclosing class:
GlueConnectionMapping
-
Method Summary
Modifier and TypeMethodDescriptionglueConnectionArn(String glueConnectionArn) The ARN of your AWS Glue connection forpath, in your account and Region.path(Collection<PathSegment> path) The resource that this mapping binds, root first, in the same form asscope.selectors[].path.path(Consumer<PathSegment.Builder>... path) The resource that this mapping binds, root first, in the same form asscope.selectors[].path.path(PathSegment... path) The resource that this mapping binds, root first, in the same form asscope.selectors[].path.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
path
The resource that this mapping binds, root first, in the same form as
scope.selectors[].path. Required. Contains 1–2 segments:-
On a
GLUE_DATA_CATALOGconnection, either aredshiftNamespacesegment whose ID is an Amazon Redshift namespace ARN (namespace:<id>, ornamespace/<id>for Amazon Redshift Serverless), or anrdsInstancesegment whose ID is an Amazon RDS DB cluster or DB instance ARN (cluster:<id>ordb:<id>) followed by anrdsDatabasesegment whose ID is the database name. The ARN must be in your account and Region. -
On a
SNOWFLAKEconnection whosedataSourceis an AWS Glue connection, asnowflakeDatabasesegment whose ID is the database name, at most 255 characters.
- Parameters:
path- The resource that this mapping binds, root first, in the same form asscope.selectors[].path. Required. Contains 1–2 segments:-
On a
GLUE_DATA_CATALOGconnection, either aredshiftNamespacesegment whose ID is an Amazon Redshift namespace ARN (namespace:<id>, ornamespace/<id>for Amazon Redshift Serverless), or anrdsInstancesegment whose ID is an Amazon RDS DB cluster or DB instance ARN (cluster:<id>ordb:<id>) followed by anrdsDatabasesegment whose ID is the database name. The ARN must be in your account and Region. -
On a
SNOWFLAKEconnection whosedataSourceis an AWS Glue connection, asnowflakeDatabasesegment whose ID is the database name, at most 255 characters.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
path
The resource that this mapping binds, root first, in the same form as
scope.selectors[].path. Required. Contains 1–2 segments:-
On a
GLUE_DATA_CATALOGconnection, either aredshiftNamespacesegment whose ID is an Amazon Redshift namespace ARN (namespace:<id>, ornamespace/<id>for Amazon Redshift Serverless), or anrdsInstancesegment whose ID is an Amazon RDS DB cluster or DB instance ARN (cluster:<id>ordb:<id>) followed by anrdsDatabasesegment whose ID is the database name. The ARN must be in your account and Region. -
On a
SNOWFLAKEconnection whosedataSourceis an AWS Glue connection, asnowflakeDatabasesegment whose ID is the database name, at most 255 characters.
- Parameters:
path- The resource that this mapping binds, root first, in the same form asscope.selectors[].path. Required. Contains 1–2 segments:-
On a
GLUE_DATA_CATALOGconnection, either aredshiftNamespacesegment whose ID is an Amazon Redshift namespace ARN (namespace:<id>, ornamespace/<id>for Amazon Redshift Serverless), or anrdsInstancesegment whose ID is an Amazon RDS DB cluster or DB instance ARN (cluster:<id>ordb:<id>) followed by anrdsDatabasesegment whose ID is the database name. The ARN must be in your account and Region. -
On a
SNOWFLAKEconnection whosedataSourceis an AWS Glue connection, asnowflakeDatabasesegment whose ID is the database name, at most 255 characters.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
path
The resource that this mapping binds, root first, in the same form as
scope.selectors[].path. Required. Contains 1–2 segments:-
On a
GLUE_DATA_CATALOGconnection, either aredshiftNamespacesegment whose ID is an Amazon Redshift namespace ARN (namespace:<id>, ornamespace/<id>for Amazon Redshift Serverless), or anrdsInstancesegment whose ID is an Amazon RDS DB cluster or DB instance ARN (cluster:<id>ordb:<id>) followed by anrdsDatabasesegment whose ID is the database name. The ARN must be in your account and Region. -
On a
SNOWFLAKEconnection whosedataSourceis an AWS Glue connection, asnowflakeDatabasesegment whose ID is the database name, at most 255 characters.
PathSegment.Builderavoiding the need to create one manually viaPathSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topath(List<PathSegment>).- Parameters:
path- a consumer that will call methods onPathSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
glueConnectionArn
The ARN of your AWS Glue connection for
path, in your account and Region. Required. The connection type must be one thatpathaccepts:-
redshiftNamespace- AREDSHIFTunified connection (ConnectionSchemaVersion 2). -
rdsInstanceandrdsDatabase- APOSTGRESQLunified connection, or, for an RDS DB instance, alsoORACLE, with itsDATABASEproperty set to thatrdsDatabase. -
snowflakeDatabase- ASNOWFLAKEconnection with aROLE_ARNand itsDATABASEproperty set to that database. TheROLE_ARNmust allowglue:GetConnectionon that connection.
AWS Context synchronizes the database through this connection. It doesn't change
DATABASEon a connection that it didn't create. If AWS Glue is still validating the connection, the request fails withConflictException. If its validation failed, the request fails withAccessDeniedException.- Parameters:
glueConnectionArn- The ARN of your AWS Glue connection forpath, in your account and Region. Required. The connection type must be one thatpathaccepts:-
redshiftNamespace- AREDSHIFTunified connection (ConnectionSchemaVersion 2). -
rdsInstanceandrdsDatabase- APOSTGRESQLunified connection, or, for an RDS DB instance, alsoORACLE, with itsDATABASEproperty set to thatrdsDatabase. -
snowflakeDatabase- ASNOWFLAKEconnection with aROLE_ARNand itsDATABASEproperty set to that database. TheROLE_ARNmust allowglue:GetConnectionon that connection.
AWS Context synchronizes the database through this connection. It doesn't change
DATABASEon a connection that it didn't create. If AWS Glue is still validating the connection, the request fails withConflictException. If its validation failed, the request fails withAccessDeniedException.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-