Interface UpdateDataSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateDataSourceResponse.Builder,
,UpdateDataSourceResponse> DataZoneResponse.Builder
,SdkBuilder<UpdateDataSourceResponse.Builder,
,UpdateDataSourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateDataSourceResponse
-
Method Summary
Modifier and TypeMethodDescriptionassetFormsOutput
(Collection<FormOutput> assetFormsOutput) The asset forms to be updated as part of theUpdateDataSource
action.assetFormsOutput
(Consumer<FormOutput.Builder>... assetFormsOutput) The asset forms to be updated as part of theUpdateDataSource
action.assetFormsOutput
(FormOutput... assetFormsOutput) The asset forms to be updated as part of theUpdateDataSource
action.default UpdateDataSourceResponse.Builder
configuration
(Consumer<DataSourceConfigurationOutput.Builder> configuration) The configuration to be updated as part of theUpdateDataSource
action.configuration
(DataSourceConfigurationOutput configuration) The configuration to be updated as part of theUpdateDataSource
action.connectionId
(String connectionId) The connection ID.The timestamp of when the data source was updated.description
(String description) The description to be updated as part of theUpdateDataSource
action.The identifier of the Amazon DataZone domain in which a data source is to be updated.enableSetting
(String enableSetting) The enable setting to be updated as part of theUpdateDataSource
action.enableSetting
(EnableSetting enableSetting) The enable setting to be updated as part of theUpdateDataSource
action.environmentId
(String environmentId) The identifier of the environment in which a data source is to be updated.default UpdateDataSourceResponse.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 identifier of the data source to be updated.The timestamp of when the data source was last run.default UpdateDataSourceResponse.Builder
lastRunErrorMessage
(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage) The last run error message of the data source.lastRunErrorMessage
(DataSourceErrorMessage lastRunErrorMessage) The last run error message of the data source.lastRunStatus
(String lastRunStatus) The last run status of the data source.lastRunStatus
(DataSourceRunStatus lastRunStatus) The last run status of the data source.The name to be updated as part of theUpdateDataSource
action.The identifier of the project where data source is to be updated.publishOnImport
(Boolean publishOnImport) The publish on import setting to be updated as part of theUpdateDataSource
action.default UpdateDataSourceResponse.Builder
recommendation
(Consumer<RecommendationConfiguration.Builder> recommendation) The recommendation to be updated as part of theUpdateDataSource
action.recommendation
(RecommendationConfiguration recommendation) The recommendation to be updated as part of theUpdateDataSource
action.retainPermissionsOnRevokeFailure
(Boolean retainPermissionsOnRevokeFailure) Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.default UpdateDataSourceResponse.Builder
schedule
(Consumer<ScheduleConfiguration.Builder> schedule) The schedule to be updated as part of theUpdateDataSource
action.schedule
(ScheduleConfiguration schedule) The schedule to be updated as part of theUpdateDataSource
action.default UpdateDataSourceResponse.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 to be updated as part of theUpdateDataSource
action.status
(DataSourceStatus status) The status to be updated as part of theUpdateDataSource
action.The type to be updated as part of theUpdateDataSource
action.The timestamp of when the 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 forms to be updated as part of the
UpdateDataSource
action.- Parameters:
assetFormsOutput
- The asset forms to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
The asset forms to be updated as part of the
UpdateDataSource
action.- Parameters:
assetFormsOutput
- The asset forms to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
The asset forms to be updated as part of the
This is a convenience method that creates an instance of theUpdateDataSource
action.FormOutput.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 to be updated as part of the
UpdateDataSource
action.- Parameters:
configuration
- The configuration to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateDataSourceResponse.Builder configuration(Consumer<DataSourceConfigurationOutput.Builder> configuration) The configuration to be updated as part of the
This is a convenience method that creates an instance of theUpdateDataSource
action.DataSourceConfigurationOutput.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 connection ID.
- Parameters:
connectionId
- The connection ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp of when the data source was updated.
- Parameters:
createdAt
- The timestamp of when the data source was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description to be updated as part of the
UpdateDataSource
action.- Parameters:
description
- The description to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The identifier of the Amazon DataZone domain in which a data source is to be updated.
- Parameters:
domainId
- The identifier of the Amazon DataZone domain in which a data source is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSetting
The enable setting to be updated as part of the
UpdateDataSource
action.- Parameters:
enableSetting
- The enable setting to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableSetting
The enable setting to be updated as part of the
UpdateDataSource
action.- Parameters:
enableSetting
- The enable setting to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentId
The identifier of the environment in which a data source is to be updated.
- Parameters:
environmentId
- The identifier of the environment in which a data source is to be updated.- 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 UpdateDataSourceResponse.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 identifier of the data source to be updated.
- Parameters:
id
- The identifier of the data source to be updated.- 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
The last run error message of the data source.
- Parameters:
lastRunErrorMessage
- The last run error message of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
default UpdateDataSourceResponse.Builder lastRunErrorMessage(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage) The last run error message of the data source.
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 last run status of the data source.
- Parameters:
lastRunStatus
- The last run status of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunStatus
The last run status of the data source.
- Parameters:
lastRunStatus
- The last run status of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name to be updated as part of the
UpdateDataSource
action.- Parameters:
name
- The name to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectId
The identifier of the project where data source is to be updated.
- Parameters:
projectId
- The identifier of the project where data source is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishOnImport
The publish on import setting to be updated as part of the
UpdateDataSource
action.- Parameters:
publishOnImport
- The publish on import setting to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
The recommendation to be updated as part of the
UpdateDataSource
action.- Parameters:
recommendation
- The recommendation to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
default UpdateDataSourceResponse.Builder recommendation(Consumer<RecommendationConfiguration.Builder> recommendation) The recommendation to be updated as part of the
This is a convenience method that creates an instance of theUpdateDataSource
action.RecommendationConfiguration.Builder
avoiding the need to create one manually viaRecommendationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendation(RecommendationConfiguration)
.- Parameters:
recommendation
- a consumer that will call methods onRecommendationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retainPermissionsOnRevokeFailure
UpdateDataSourceResponse.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 to be updated as part of the
UpdateDataSource
action.- Parameters:
schedule
- The schedule to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule to be updated as part of the
This is a convenience method that creates an instance of theUpdateDataSource
action.ScheduleConfiguration.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 UpdateDataSourceResponse.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 to be updated as part of the
UpdateDataSource
action.- Parameters:
status
- The status to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status to be updated as part of the
UpdateDataSource
action.- Parameters:
status
- The status to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type to be updated as part of the
UpdateDataSource
action.- Parameters:
type
- The type to be updated as part of theUpdateDataSource
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp of when the data source was updated.
- Parameters:
updatedAt
- The timestamp of when the data source was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-