Interface GetDataSourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>,DataZoneResponse.Builder,SdkBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDataSourceResponse
public static interface GetDataSourceResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetDataSourceResponse.BuilderassetFormsOutput(Collection<FormOutput> assetFormsOutput)The metadata forms attached to the assets created by this data source.GetDataSourceResponse.BuilderassetFormsOutput(Consumer<FormOutput.Builder>... assetFormsOutput)The metadata forms attached to the assets created by this data source.GetDataSourceResponse.BuilderassetFormsOutput(FormOutput... assetFormsOutput)The metadata forms attached to the assets created by this data source.default GetDataSourceResponse.Builderconfiguration(Consumer<DataSourceConfigurationOutput.Builder> configuration)The configuration of the data source.GetDataSourceResponse.Builderconfiguration(DataSourceConfigurationOutput configuration)The configuration of the data source.GetDataSourceResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the data source was created.GetDataSourceResponse.Builderdescription(String description)The description of the data source.GetDataSourceResponse.BuilderdomainId(String domainId)The ID of the Amazon DataZone domain in which the data source exists.GetDataSourceResponse.BuilderenableSetting(String enableSetting)Specifies whether this data source is enabled or not.GetDataSourceResponse.BuilderenableSetting(EnableSetting enableSetting)Specifies whether this data source is enabled or not.GetDataSourceResponse.BuilderenvironmentId(String environmentId)The ID of the environment where this data source creates and publishes assets,default GetDataSourceResponse.BuildererrorMessage(Consumer<DataSourceErrorMessage.Builder> errorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.GetDataSourceResponse.BuildererrorMessage(DataSourceErrorMessage errorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.GetDataSourceResponse.Builderid(String id)The ID of the data source.GetDataSourceResponse.BuilderlastRunAssetCount(Integer lastRunAssetCount)The number of assets created by the data source during its last run.GetDataSourceResponse.BuilderlastRunAt(Instant lastRunAt)The timestamp of the last run of the data source.default GetDataSourceResponse.BuilderlastRunErrorMessage(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.GetDataSourceResponse.BuilderlastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.GetDataSourceResponse.BuilderlastRunStatus(String lastRunStatus)The status of the last run of the data source.GetDataSourceResponse.BuilderlastRunStatus(DataSourceRunStatus lastRunStatus)The status of the last run of the data source.GetDataSourceResponse.Buildername(String name)The name of the data source.GetDataSourceResponse.BuilderprojectId(String projectId)The ID of the project where the data source creates and publishes assets.GetDataSourceResponse.BuilderpublishOnImport(Boolean publishOnImport)Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.default GetDataSourceResponse.Builderrecommendation(Consumer<RecommendationConfiguration.Builder> recommendation)The recommendation configuration of the data source.GetDataSourceResponse.Builderrecommendation(RecommendationConfiguration recommendation)The recommendation configuration of the data source.default GetDataSourceResponse.Builderschedule(Consumer<ScheduleConfiguration.Builder> schedule)The schedule of the data source runs.GetDataSourceResponse.Builderschedule(ScheduleConfiguration schedule)The schedule of the data source runs.default GetDataSourceResponse.BuilderselfGrantStatus(Consumer<SelfGrantStatusOutput.Builder> selfGrantStatus)Specifies the status of the self-granting functionality.GetDataSourceResponse.BuilderselfGrantStatus(SelfGrantStatusOutput selfGrantStatus)Specifies the status of the self-granting functionality.GetDataSourceResponse.Builderstatus(String status)The status of the data source.GetDataSourceResponse.Builderstatus(DataSourceStatus status)The status of the data source.GetDataSourceResponse.Buildertype(String type)The type of the data source.GetDataSourceResponse.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
GetDataSourceResponse.Builder assetFormsOutput(Collection<FormOutput> assetFormsOutput)
The metadata forms attached to the assets created by this data source.
- Parameters:
assetFormsOutput- The metadata forms attached to the assets created by this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
GetDataSourceResponse.Builder assetFormsOutput(FormOutput... assetFormsOutput)
The metadata forms attached to the assets created by this data source.
- Parameters:
assetFormsOutput- The metadata forms attached to the assets created by this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
GetDataSourceResponse.Builder assetFormsOutput(Consumer<FormOutput.Builder>... assetFormsOutput)
The metadata forms attached to the assets created by this data source.
This is a convenience method that creates an instance of theFormOutput.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
GetDataSourceResponse.Builder configuration(DataSourceConfigurationOutput configuration)
The configuration of the data source.
- Parameters:
configuration- The configuration of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetDataSourceResponse.Builder configuration(Consumer<DataSourceConfigurationOutput.Builder> configuration)
The configuration of the data source.
This is a convenience method that creates an instance of theDataSourceConfigurationOutput.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
GetDataSourceResponse.Builder createdAt(Instant createdAt)
The timestamp of when the data source was created.
- Parameters:
createdAt- The timestamp of when the data source was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetDataSourceResponse.Builder description(String description)
The description of the data source.
- Parameters:
description- The description of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
GetDataSourceResponse.Builder domainId(String domainId)
The ID of the Amazon DataZone domain in which the data source exists.
- Parameters:
domainId- The ID of the Amazon DataZone domain in which the data source exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSetting
GetDataSourceResponse.Builder enableSetting(String enableSetting)
Specifies whether this data source is enabled or not.
- Parameters:
enableSetting- Specifies whether this data source is enabled or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnableSetting,EnableSetting
-
enableSetting
GetDataSourceResponse.Builder enableSetting(EnableSetting enableSetting)
Specifies whether this data source is enabled or not.
- Parameters:
enableSetting- Specifies whether this data source is enabled or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnableSetting,EnableSetting
-
environmentId
GetDataSourceResponse.Builder environmentId(String environmentId)
The ID of the environment where this data source creates and publishes assets,
- Parameters:
environmentId- The ID of the environment where this data source creates and publishes assets,- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
GetDataSourceResponse.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 GetDataSourceResponse.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
GetDataSourceResponse.Builder id(String id)
The ID of the data source.
- Parameters:
id- The ID of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAssetCount
GetDataSourceResponse.Builder lastRunAssetCount(Integer lastRunAssetCount)
The number of assets created by the data source during its last run.
- Parameters:
lastRunAssetCount- The number of assets created by the data source during its last run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAt
GetDataSourceResponse.Builder lastRunAt(Instant lastRunAt)
The timestamp of the last run of the data source.
- Parameters:
lastRunAt- The timestamp of the last run of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
GetDataSourceResponse.Builder lastRunErrorMessage(DataSourceErrorMessage 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 GetDataSourceResponse.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.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
GetDataSourceResponse.Builder lastRunStatus(String lastRunStatus)
The status of the last run of the data source.
- Parameters:
lastRunStatus- The status of the last run of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceRunStatus,DataSourceRunStatus
-
lastRunStatus
GetDataSourceResponse.Builder lastRunStatus(DataSourceRunStatus lastRunStatus)
The status of the last run of the data source.
- Parameters:
lastRunStatus- The status of the last run of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceRunStatus,DataSourceRunStatus
-
name
GetDataSourceResponse.Builder name(String name)
The name of the data source.
- Parameters:
name- The name of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectId
GetDataSourceResponse.Builder projectId(String projectId)
The ID of the project where the data source creates and publishes assets.
- Parameters:
projectId- The ID of the project where the data source creates and publishes assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishOnImport
GetDataSourceResponse.Builder publishOnImport(Boolean 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.
-
recommendation
GetDataSourceResponse.Builder recommendation(RecommendationConfiguration recommendation)
The recommendation configuration of the data source.
- Parameters:
recommendation- The recommendation configuration of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
default GetDataSourceResponse.Builder recommendation(Consumer<RecommendationConfiguration.Builder> recommendation)
The recommendation configuration of the data source.
This is a convenience method that creates an instance of theRecommendationConfiguration.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)
-
schedule
GetDataSourceResponse.Builder schedule(ScheduleConfiguration schedule)
The schedule of the data source runs.
- Parameters:
schedule- The schedule of the data source runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
default GetDataSourceResponse.Builder schedule(Consumer<ScheduleConfiguration.Builder> schedule)
The schedule of the data source runs.
This is a convenience method that creates an instance of theScheduleConfiguration.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
GetDataSourceResponse.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 GetDataSourceResponse.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
GetDataSourceResponse.Builder status(String status)
The status of the data source.
- Parameters:
status- The status of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceStatus,DataSourceStatus
-
status
GetDataSourceResponse.Builder status(DataSourceStatus status)
The status of the data source.
- Parameters:
status- The status of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceStatus,DataSourceStatus
-
type
GetDataSourceResponse.Builder type(String type)
The type of the data source.
- Parameters:
type- The type of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
GetDataSourceResponse.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.
-
-