Interface DeleteDataSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteDataSourceResponse.Builder,
,DeleteDataSourceResponse> DataZoneResponse.Builder
,SdkBuilder<DeleteDataSourceResponse.Builder,
,DeleteDataSourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteDataSourceResponse
-
Method Summary
Modifier and TypeMethodDescriptionassetFormsOutput
(Collection<FormOutput> assetFormsOutput) The asset data forms associated with this data source.assetFormsOutput
(Consumer<FormOutput.Builder>... assetFormsOutput) The asset data forms associated with this data source.assetFormsOutput
(FormOutput... assetFormsOutput) The asset data forms associated with this data source.default DeleteDataSourceResponse.Builder
configuration
(Consumer<DataSourceConfigurationOutput.Builder> configuration) The configuration of the data source that is deleted.configuration
(DataSourceConfigurationOutput configuration) The configuration of the data source that is deleted.connectionId
(String connectionId) The ID of the connection that is deleted.The timestamp of when this data source was created.description
(String description) The description of the data source that is deleted.The ID of the Amazon DataZone domain in which the data source is deleted.enableSetting
(String enableSetting) The enable setting of the data source that specifies whether the data source is enabled or disabled.enableSetting
(EnableSetting enableSetting) The enable setting of the data source that specifies whether the data source is enabled or disabled.environmentId
(String environmentId) The ID of the environemnt associated with this data source.default DeleteDataSourceResponse.Builder
errorMessage
(Consumer<DataSourceErrorMessage.Builder> errorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.errorMessage
(DataSourceErrorMessage errorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.The ID of the data source that is deleted.The timestamp of when the data source was last run.default DeleteDataSourceResponse.Builder
lastRunErrorMessage
(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.lastRunErrorMessage
(DataSourceErrorMessage lastRunErrorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.lastRunStatus
(String lastRunStatus) The status of the last run of this data source.lastRunStatus
(DataSourceRunStatus lastRunStatus) The status of the last run of this data source.The name of the data source that is deleted.The ID of the project in which this data source exists and from which it's deleted.publishOnImport
(Boolean publishOnImport) Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.retainPermissionsOnRevokeFailure
(Boolean retainPermissionsOnRevokeFailure) Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.default DeleteDataSourceResponse.Builder
schedule
(Consumer<ScheduleConfiguration.Builder> schedule) The schedule of runs for this data source.schedule
(ScheduleConfiguration schedule) The schedule of runs for this data source.default DeleteDataSourceResponse.Builder
selfGrantStatus
(Consumer<SelfGrantStatusOutput.Builder> selfGrantStatus) Specifies the status of the self-granting functionality.selfGrantStatus
(SelfGrantStatusOutput selfGrantStatus) Specifies the status of the self-granting functionality.The status of this data source.status
(DataSourceStatus status) The status of this data source.The type of this data source.The timestamp of when this data source was updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assetFormsOutput
The asset data forms associated with this data source.
- Parameters:
assetFormsOutput
- The asset data forms associated with this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
The asset data forms associated with this data source.
- Parameters:
assetFormsOutput
- The asset data forms associated with this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
The asset data forms associated with this data source.
This is a convenience method that creates an instance of theFormOutput.Builder
avoiding the need to create one manually viaFormOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetFormsOutput(List<FormOutput>)
.- Parameters:
assetFormsOutput
- a consumer that will call methods onFormOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuration
The configuration of the data source that is deleted.
- Parameters:
configuration
- The configuration of the data source that is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default DeleteDataSourceResponse.Builder configuration(Consumer<DataSourceConfigurationOutput.Builder> configuration) The configuration of the data source that is deleted.
This is a convenience method that creates an instance of theDataSourceConfigurationOutput.Builder
avoiding the need to create one manually viaDataSourceConfigurationOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(DataSourceConfigurationOutput)
.- Parameters:
configuration
- a consumer that will call methods onDataSourceConfigurationOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionId
The ID of the connection that is deleted.
- Parameters:
connectionId
- The ID of the connection that is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp of when this data source was created.
- Parameters:
createdAt
- The timestamp of when this data source was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the data source that is deleted.
- Parameters:
description
- The description of the data source that is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The ID of the Amazon DataZone domain in which the data source is deleted.
- Parameters:
domainId
- The ID of the Amazon DataZone domain in which the data source is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSetting
The enable setting of the data source that specifies whether the data source is enabled or disabled.
- Parameters:
enableSetting
- The enable setting of the data source that specifies whether the data source is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableSetting
The enable setting of the data source that specifies whether the data source is enabled or disabled.
- Parameters:
enableSetting
- The enable setting of the data source that specifies whether the data source is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentId
The ID of the environemnt associated with this data source.
- Parameters:
environmentId
- The ID of the environemnt associated with this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
Specifies the error message that is returned if the operation cannot be successfully completed.
- Parameters:
errorMessage
- Specifies the error message that is returned if the operation cannot be successfully completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
default DeleteDataSourceResponse.Builder errorMessage(Consumer<DataSourceErrorMessage.Builder> errorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.
This is a convenience method that creates an instance of theDataSourceErrorMessage.Builder
avoiding the need to create one manually viaDataSourceErrorMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorMessage(DataSourceErrorMessage)
.- Parameters:
errorMessage
- a consumer that will call methods onDataSourceErrorMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the data source that is deleted.
- Parameters:
id
- The ID of the data source that is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAt
The timestamp of when the data source was last run.
- Parameters:
lastRunAt
- The timestamp of when the data source was last run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
Specifies the error message that is returned if the operation cannot be successfully completed.
- Parameters:
lastRunErrorMessage
- Specifies the error message that is returned if the operation cannot be successfully completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
default DeleteDataSourceResponse.Builder lastRunErrorMessage(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.
This is a convenience method that creates an instance of theDataSourceErrorMessage.Builder
avoiding the need to create one manually viaDataSourceErrorMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastRunErrorMessage(DataSourceErrorMessage)
.- Parameters:
lastRunErrorMessage
- a consumer that will call methods onDataSourceErrorMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunStatus
The status of the last run of this data source.
- Parameters:
lastRunStatus
- The status of the last run of this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunStatus
The status of the last run of this data source.
- Parameters:
lastRunStatus
- The status of the last run of this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the data source that is deleted.
- Parameters:
name
- The name of the data source that is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectId
The ID of the project in which this data source exists and from which it's deleted.
- Parameters:
projectId
- The ID of the project in which this data source exists and from which it's deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishOnImport
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
- Parameters:
publishOnImport
- Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retainPermissionsOnRevokeFailure
DeleteDataSourceResponse.Builder retainPermissionsOnRevokeFailure(Boolean retainPermissionsOnRevokeFailure) Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.
- Parameters:
retainPermissionsOnRevokeFailure
- Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule of runs for this data source.
- Parameters:
schedule
- The schedule of runs for this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule of runs for this data source.
This is a convenience method that creates an instance of theScheduleConfiguration.Builder
avoiding the need to create one manually viaScheduleConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(ScheduleConfiguration)
.- Parameters:
schedule
- a consumer that will call methods onScheduleConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selfGrantStatus
Specifies the status of the self-granting functionality.
- Parameters:
selfGrantStatus
- Specifies the status of the self-granting functionality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfGrantStatus
default DeleteDataSourceResponse.Builder selfGrantStatus(Consumer<SelfGrantStatusOutput.Builder> selfGrantStatus) Specifies the status of the self-granting functionality.
This is a convenience method that creates an instance of theSelfGrantStatusOutput.Builder
avoiding the need to create one manually viaSelfGrantStatusOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselfGrantStatus(SelfGrantStatusOutput)
.- Parameters:
selfGrantStatus
- a consumer that will call methods onSelfGrantStatusOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of this data source.
- Parameters:
status
- The status of this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of this data source.
- Parameters:
status
- The status of this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of this data source.
- Parameters:
type
- The type of this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp of when this data source was updated.
- Parameters:
updatedAt
- The timestamp of when this data source was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-