Interface UpdateDataSourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDataSourceResponse.Builder,UpdateDataSourceResponse>,DataZoneResponse.Builder,SdkBuilder<UpdateDataSourceResponse.Builder,UpdateDataSourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateDataSourceResponse
public static interface UpdateDataSourceResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceResponse.Builder,UpdateDataSourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDataSourceResponse.BuilderassetFormsOutput(Collection<FormOutput> assetFormsOutput)The asset forms to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuilderassetFormsOutput(Consumer<FormOutput.Builder>... assetFormsOutput)The asset forms to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuilderassetFormsOutput(FormOutput... assetFormsOutput)The asset forms to be updated as part of theUpdateDataSourceaction.default UpdateDataSourceResponse.Builderconfiguration(Consumer<DataSourceConfigurationOutput.Builder> configuration)The configuration to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.Builderconfiguration(DataSourceConfigurationOutput configuration)The configuration to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the data source was updated.UpdateDataSourceResponse.Builderdescription(String description)The description to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain in which a data source is to be updated.UpdateDataSourceResponse.BuilderenableSetting(String enableSetting)The enable setting to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuilderenableSetting(EnableSetting enableSetting)The enable setting to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuilderenvironmentId(String environmentId)The identifier of the environment in which a data source is to be updated.default UpdateDataSourceResponse.BuildererrorMessage(Consumer<DataSourceErrorMessage.Builder> errorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.UpdateDataSourceResponse.BuildererrorMessage(DataSourceErrorMessage errorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.UpdateDataSourceResponse.Builderid(String id)The identifier of the data source to be updated.UpdateDataSourceResponse.BuilderlastRunAt(Instant lastRunAt)The timestamp of when the data source was last run.default UpdateDataSourceResponse.BuilderlastRunErrorMessage(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage)The last run error message of the data source.UpdateDataSourceResponse.BuilderlastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage)The last run error message of the data source.UpdateDataSourceResponse.BuilderlastRunStatus(String lastRunStatus)The last run status of the data source.UpdateDataSourceResponse.BuilderlastRunStatus(DataSourceRunStatus lastRunStatus)The last run status of the data source.UpdateDataSourceResponse.Buildername(String name)The name to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuilderprojectId(String projectId)The identifier of the project where data source is to be updated.UpdateDataSourceResponse.BuilderpublishOnImport(Boolean publishOnImport)The publish on import setting to be updated as part of theUpdateDataSourceaction.default UpdateDataSourceResponse.Builderrecommendation(Consumer<RecommendationConfiguration.Builder> recommendation)The recommendation to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.Builderrecommendation(RecommendationConfiguration recommendation)The recommendation to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuilderretainPermissionsOnRevokeFailure(Boolean retainPermissionsOnRevokeFailure)Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.default UpdateDataSourceResponse.Builderschedule(Consumer<ScheduleConfiguration.Builder> schedule)The schedule to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.Builderschedule(ScheduleConfiguration schedule)The schedule to be updated as part of theUpdateDataSourceaction.default UpdateDataSourceResponse.BuilderselfGrantStatus(Consumer<SelfGrantStatusOutput.Builder> selfGrantStatus)Specifies the status of the self-granting functionality.UpdateDataSourceResponse.BuilderselfGrantStatus(SelfGrantStatusOutput selfGrantStatus)Specifies the status of the self-granting functionality.UpdateDataSourceResponse.Builderstatus(String status)The status to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.Builderstatus(DataSourceStatus status)The status to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.Buildertype(String type)The type to be updated as part of theUpdateDataSourceaction.UpdateDataSourceResponse.BuilderupdatedAt(Instant updatedAt)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
assetFormsOutput
UpdateDataSourceResponse.Builder assetFormsOutput(Collection<FormOutput> assetFormsOutput)
The asset forms to be updated as part of the
UpdateDataSourceaction.- Parameters:
assetFormsOutput- The asset forms to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
UpdateDataSourceResponse.Builder assetFormsOutput(FormOutput... assetFormsOutput)
The asset forms to be updated as part of the
UpdateDataSourceaction.- Parameters:
assetFormsOutput- The asset forms to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
UpdateDataSourceResponse.Builder assetFormsOutput(Consumer<FormOutput.Builder>... assetFormsOutput)
The asset forms to be updated as part of the
This is a convenience method that creates an instance of theUpdateDataSourceaction.FormOutput.Builderavoiding the need to create one manually viaFormOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assetFormsOutput(List.) - 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:
#assetFormsOutput(java.util.Collection)
-
configuration
UpdateDataSourceResponse.Builder configuration(DataSourceConfigurationOutput configuration)
The configuration to be updated as part of the
UpdateDataSourceaction.- Parameters:
configuration- The configuration to be updated as part of theUpdateDataSourceaction.- 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 theUpdateDataSourceaction.DataSourceConfigurationOutput.Builderavoiding the need to create one manually viaDataSourceConfigurationOutput.builder().When the
Consumercompletes,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:
configuration(DataSourceConfigurationOutput)
-
createdAt
UpdateDataSourceResponse.Builder createdAt(Instant 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
UpdateDataSourceResponse.Builder description(String description)
The description to be updated as part of the
UpdateDataSourceaction.- Parameters:
description- The description to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
UpdateDataSourceResponse.Builder domainId(String 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
UpdateDataSourceResponse.Builder enableSetting(String enableSetting)
The enable setting to be updated as part of the
UpdateDataSourceaction.- Parameters:
enableSetting- The enable setting to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnableSetting,EnableSetting
-
enableSetting
UpdateDataSourceResponse.Builder enableSetting(EnableSetting enableSetting)
The enable setting to be updated as part of the
UpdateDataSourceaction.- Parameters:
enableSetting- The enable setting to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnableSetting,EnableSetting
-
environmentId
UpdateDataSourceResponse.Builder environmentId(String 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
UpdateDataSourceResponse.Builder errorMessage(DataSourceErrorMessage 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.Builderavoiding the need to create one manually viaDataSourceErrorMessage.builder().When the
Consumercompletes,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:
errorMessage(DataSourceErrorMessage)
-
id
UpdateDataSourceResponse.Builder id(String 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
UpdateDataSourceResponse.Builder lastRunAt(Instant 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
UpdateDataSourceResponse.Builder lastRunErrorMessage(DataSourceErrorMessage 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.Builderavoiding the need to create one manually viaDataSourceErrorMessage.builder().When the
Consumercompletes,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:
lastRunErrorMessage(DataSourceErrorMessage)
-
lastRunStatus
UpdateDataSourceResponse.Builder lastRunStatus(String 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:
DataSourceRunStatus,DataSourceRunStatus
-
lastRunStatus
UpdateDataSourceResponse.Builder lastRunStatus(DataSourceRunStatus 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:
DataSourceRunStatus,DataSourceRunStatus
-
name
UpdateDataSourceResponse.Builder name(String name)
The name to be updated as part of the
UpdateDataSourceaction.- Parameters:
name- The name to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectId
UpdateDataSourceResponse.Builder projectId(String 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
UpdateDataSourceResponse.Builder publishOnImport(Boolean publishOnImport)
The publish on import setting to be updated as part of the
UpdateDataSourceaction.- Parameters:
publishOnImport- The publish on import setting to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
UpdateDataSourceResponse.Builder recommendation(RecommendationConfiguration recommendation)
The recommendation to be updated as part of the
UpdateDataSourceaction.- Parameters:
recommendation- The recommendation to be updated as part of theUpdateDataSourceaction.- 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 theUpdateDataSourceaction.RecommendationConfiguration.Builderavoiding the need to create one manually viaRecommendationConfiguration.builder().When the
Consumercompletes,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:
recommendation(RecommendationConfiguration)
-
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
UpdateDataSourceResponse.Builder schedule(ScheduleConfiguration schedule)
The schedule to be updated as part of the
UpdateDataSourceaction.- Parameters:
schedule- The schedule to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
default UpdateDataSourceResponse.Builder schedule(Consumer<ScheduleConfiguration.Builder> schedule)
The schedule to be updated as part of the
This is a convenience method that creates an instance of theUpdateDataSourceaction.ScheduleConfiguration.Builderavoiding the need to create one manually viaScheduleConfiguration.builder().When the
Consumercompletes,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:
schedule(ScheduleConfiguration)
-
selfGrantStatus
UpdateDataSourceResponse.Builder selfGrantStatus(SelfGrantStatusOutput 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.Builderavoiding the need to create one manually viaSelfGrantStatusOutput.builder().When the
Consumercompletes,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:
selfGrantStatus(SelfGrantStatusOutput)
-
status
UpdateDataSourceResponse.Builder status(String status)
The status to be updated as part of the
UpdateDataSourceaction.- Parameters:
status- The status to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceStatus,DataSourceStatus
-
status
UpdateDataSourceResponse.Builder status(DataSourceStatus status)
The status to be updated as part of the
UpdateDataSourceaction.- Parameters:
status- The status to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceStatus,DataSourceStatus
-
type
UpdateDataSourceResponse.Builder type(String type)
The type to be updated as part of the
UpdateDataSourceaction.- Parameters:
type- The type to be updated as part of theUpdateDataSourceaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
UpdateDataSourceResponse.Builder updatedAt(Instant 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.
-
-