Interface UpdateConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<UpdateConnectionResponse.Builder,,UpdateConnectionResponse> SdkBuilder<UpdateConnectionResponse.Builder,,UpdateConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateConnectionResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateConnectionResponse.BuilderaccessConfig(Consumer<AccessConfig.Builder> accessConfig) Per-connection access configuration: the IAM role used for data access.accessConfig(AccessConfig accessConfig) Per-connection access configuration: the IAM role used for data access.The ARN of the connection.The date and time when the connection was created.default UpdateConnectionResponse.BuilderdataSource(Consumer<DataSourceReference.Builder> dataSource) The typed reference to the external data source that this connection binds to.dataSource(DataSourceReference dataSource) The typed reference to the external data source that this connection binds to.default UpdateConnectionResponse.Builderfailure(Consumer<ConnectionFailure.Builder> failure) The reason the connection is FAILED.failure(ConnectionFailure failure) The reason the connection is FAILED.glueConnectionMappings(Collection<GlueConnectionMapping> glueConnectionMappings) The AWS Glue connection for eachredshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope.glueConnectionMappings(Consumer<GlueConnectionMapping.Builder>... glueConnectionMappings) The AWS Glue connection for eachredshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope.glueConnectionMappings(GlueConnectionMapping... glueConnectionMappings) The AWS Glue connection for eachredshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope.The ID of the connection.default UpdateConnectionResponse.BuilderingestionConfig(Consumer<IngestionConfig.Builder> ingestionConfig) The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection).ingestionConfig(IngestionConfig ingestionConfig) The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection).The name of the connection.default UpdateConnectionResponse.Builderscope(Consumer<DataSourceScope.Builder> scope) The hierarchical subset of the data source this connection ingests.scope(DataSourceScope scope) The hierarchical subset of the data source this connection ingests.The connection's status.status(ConnectionStatus status) The connection's status.The last milestone a third-party connection's lifecycle reached.subStatus(ResourceSubStatus subStatus) The last milestone a third-party connection's lifecycle reached.default UpdateConnectionResponse.BuildersyncSchedule(Consumer<SyncSchedule.Builder> syncSchedule) The effective sync schedule.syncSchedule(SyncSchedule syncSchedule) The effective sync schedule.When the resource last changed.Methods inherited from interface software.amazon.awssdk.services.context.model.ContextResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The ID of the connection.
- Parameters:
id- The ID of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the connection.
- Parameters:
arn- The ARN of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connection. You set it when you create the connection and can change it with UpdateConnection. Uses the same constraints as an agent context name. Always present.
- Parameters:
name- The name of the connection. You set it when you create the connection and can change it with UpdateConnection. Uses the same constraints as an agent context name. Always present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The typed reference to the external data source that this connection binds to. Its
type, the authoritative kind of data source, is indataSource.type.- Parameters:
dataSource- The typed reference to the external data source that this connection binds to. Itstype, the authoritative kind of data source, is indataSource.type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
default UpdateConnectionResponse.Builder dataSource(Consumer<DataSourceReference.Builder> dataSource) The typed reference to the external data source that this connection binds to. Its
This is a convenience method that creates an instance of thetype, the authoritative kind of data source, is indataSource.type.DataSourceReference.Builderavoiding the need to create one manually viaDataSourceReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSource(DataSourceReference).- Parameters:
dataSource- a consumer that will call methods onDataSourceReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
The hierarchical subset of the data source this connection ingests.
- Parameters:
scope- The hierarchical subset of the data source this connection ingests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The hierarchical subset of the data source this connection ingests.
This is a convenience method that creates an instance of theDataSourceScope.Builderavoiding the need to create one manually viaDataSourceScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscope(DataSourceScope).- Parameters:
scope- a consumer that will call methods onDataSourceScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessConfig
Per-connection access configuration: the IAM role used for data access.
- Parameters:
accessConfig- Per-connection access configuration: the IAM role used for data access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessConfig
Per-connection access configuration: the IAM role used for data access.
This is a convenience method that creates an instance of theAccessConfig.Builderavoiding the need to create one manually viaAccessConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessConfig(AccessConfig).- Parameters:
accessConfig- a consumer that will call methods onAccessConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
syncSchedule
The effective sync schedule. Present for
DATABRICKSandSNOWFLAKEconnections (DAILYif you didn't specify one). Absent forGLUE_DATA_CATALOGandBEDROCK_KNOWLEDGE_BASEconnections, which are event-driven.- Parameters:
syncSchedule- The effective sync schedule. Present forDATABRICKSandSNOWFLAKEconnections (DAILYif you didn't specify one). Absent forGLUE_DATA_CATALOGandBEDROCK_KNOWLEDGE_BASEconnections, which are event-driven.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSchedule
The effective sync schedule. Present for
This is a convenience method that creates an instance of theDATABRICKSandSNOWFLAKEconnections (DAILYif you didn't specify one). Absent forGLUE_DATA_CATALOGandBEDROCK_KNOWLEDGE_BASEconnections, which are event-driven.SyncSchedule.Builderavoiding the need to create one manually viaSyncSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosyncSchedule(SyncSchedule).- Parameters:
syncSchedule- a consumer that will call methods onSyncSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ingestionConfig
The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.
- Parameters:
ingestionConfig- The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionConfig
default UpdateConnectionResponse.Builder ingestionConfig(Consumer<IngestionConfig.Builder> ingestionConfig) The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.
This is a convenience method that creates an instance of theIngestionConfig.Builderavoiding the need to create one manually viaIngestionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toingestionConfig(IngestionConfig).- Parameters:
ingestionConfig- a consumer that will call methods onIngestionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
glueConnectionMappings
UpdateConnectionResponse.Builder glueConnectionMappings(Collection<GlueConnectionMapping> glueConnectionMappings) The AWS Glue connection for each
redshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope. Absent when none is configured.- Parameters:
glueConnectionMappings- The AWS Glue connection for eachredshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope. Absent when none is configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glueConnectionMappings
UpdateConnectionResponse.Builder glueConnectionMappings(GlueConnectionMapping... glueConnectionMappings) The AWS Glue connection for each
redshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope. Absent when none is configured.- Parameters:
glueConnectionMappings- The AWS Glue connection for eachredshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope. Absent when none is configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glueConnectionMappings
UpdateConnectionResponse.Builder glueConnectionMappings(Consumer<GlueConnectionMapping.Builder>... glueConnectionMappings) The AWS Glue connection for each
This is a convenience method that creates an instance of theredshiftNamespace, eachrdsInstanceandrdsDatabasepair, or eachsnowflakeDatabaseinscope. Absent when none is configured.GlueConnectionMapping.Builderavoiding the need to create one manually viaGlueConnectionMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglueConnectionMappings(List<GlueConnectionMapping>).- Parameters:
glueConnectionMappings- a consumer that will call methods onGlueConnectionMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The connection's status. Valid values:
-
CREATING- Validation or provisioning is still in progress. -
ACTIVE- The data source is reachable and, for aDATABRICKSorSNOWFLAKEconnection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed. -
UPDATING- The connection is being updated. -
DELETING- The connection is being deleted. -
FAILED- Validation or provisioning failed, and the connection can't recover.
- Parameters:
status- The connection's status. Valid values:-
CREATING- Validation or provisioning is still in progress. -
ACTIVE- The data source is reachable and, for aDATABRICKSorSNOWFLAKEconnection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed. -
UPDATING- The connection is being updated. -
DELETING- The connection is being deleted. -
FAILED- Validation or provisioning failed, and the connection can't recover.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The connection's status. Valid values:
-
CREATING- Validation or provisioning is still in progress. -
ACTIVE- The data source is reachable and, for aDATABRICKSorSNOWFLAKEconnection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed. -
UPDATING- The connection is being updated. -
DELETING- The connection is being deleted. -
FAILED- Validation or provisioning failed, and the connection can't recover.
- Parameters:
status- The connection's status. Valid values:-
CREATING- Validation or provisioning is still in progress. -
ACTIVE- The data source is reachable and, for aDATABRICKSorSNOWFLAKEconnection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed. -
UPDATING- The connection is being updated. -
DELETING- The connection is being deleted. -
FAILED- Validation or provisioning failed, and the connection can't recover.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
failure
The reason the connection is FAILED. Absent in every other status.
- Parameters:
failure- The reason the connection is FAILED. Absent in every other status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failure
The reason the connection is FAILED. Absent in every other status.
This is a convenience method that creates an instance of theConnectionFailure.Builderavoiding the need to create one manually viaConnectionFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailure(ConnectionFailure).- Parameters:
failure- a consumer that will call methods onConnectionFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subStatus
The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with
publish: falsemeans it is waiting for UpdateConnectionpublish: true.- Parameters:
subStatus- The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created withpublish: falsemeans it is waiting for UpdateConnectionpublish: true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subStatus
The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with
publish: falsemeans it is waiting for UpdateConnectionpublish: true.- Parameters:
subStatus- The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created withpublish: falsemeans it is waiting for UpdateConnectionpublish: true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time when the connection was created.
- Parameters:
createdAt- The date and time when the connection was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
When the resource last changed. Equal to
createdAtuntil the first update.- Parameters:
updatedAt- When the resource last changed. Equal tocreatedAtuntil the first update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-