Interface CreateDataSourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDataSourceResponse.Builder,CreateDataSourceResponse>,DataZoneResponse.Builder,SdkBuilder<CreateDataSourceResponse.Builder,CreateDataSourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateDataSourceResponse
public static interface CreateDataSourceResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CreateDataSourceResponse.Builder,CreateDataSourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDataSourceResponse.BuilderassetFormsOutput(Collection<FormOutput> assetFormsOutput)The metadata forms attached to the assets that this data source creates.CreateDataSourceResponse.BuilderassetFormsOutput(Consumer<FormOutput.Builder>... assetFormsOutput)The metadata forms attached to the assets that this data source creates.CreateDataSourceResponse.BuilderassetFormsOutput(FormOutput... assetFormsOutput)The metadata forms attached to the assets that this data source creates.default CreateDataSourceResponse.Builderconfiguration(Consumer<DataSourceConfigurationOutput.Builder> configuration)Specifies the configuration of the data source.CreateDataSourceResponse.Builderconfiguration(DataSourceConfigurationOutput configuration)Specifies the configuration of the data source.CreateDataSourceResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the data source was created.CreateDataSourceResponse.Builderdescription(String description)The description of the data source.CreateDataSourceResponse.BuilderdomainId(String domainId)The ID of the Amazon DataZone domain in which the data source is created.CreateDataSourceResponse.BuilderenableSetting(String enableSetting)Specifies whether the data source is enabled.CreateDataSourceResponse.BuilderenableSetting(EnableSetting enableSetting)Specifies whether the data source is enabled.CreateDataSourceResponse.BuilderenvironmentId(String environmentId)The unique identifier of the Amazon DataZone environment to which the data source publishes assets.default CreateDataSourceResponse.BuildererrorMessage(Consumer<DataSourceErrorMessage.Builder> errorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.CreateDataSourceResponse.BuildererrorMessage(DataSourceErrorMessage errorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.CreateDataSourceResponse.Builderid(String id)The unique identifier of the data source.CreateDataSourceResponse.BuilderlastRunAt(Instant lastRunAt)The timestamp that specifies when the data source was last run.default CreateDataSourceResponse.BuilderlastRunErrorMessage(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.CreateDataSourceResponse.BuilderlastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.CreateDataSourceResponse.BuilderlastRunStatus(String lastRunStatus)The status of the last run of this data source.CreateDataSourceResponse.BuilderlastRunStatus(DataSourceRunStatus lastRunStatus)The status of the last run of this data source.CreateDataSourceResponse.Buildername(String name)The name of the data source.CreateDataSourceResponse.BuilderprojectId(String projectId)The ID of the Amazon DataZone project to which the data source is added.CreateDataSourceResponse.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 CreateDataSourceResponse.Builderrecommendation(Consumer<RecommendationConfiguration.Builder> recommendation)Specifies whether the business name generation is to be enabled for this data source.CreateDataSourceResponse.Builderrecommendation(RecommendationConfiguration recommendation)Specifies whether the business name generation is to be enabled for this data source.default CreateDataSourceResponse.Builderschedule(Consumer<ScheduleConfiguration.Builder> schedule)The schedule of the data source runs.CreateDataSourceResponse.Builderschedule(ScheduleConfiguration schedule)The schedule of the data source runs.CreateDataSourceResponse.Builderstatus(String status)The status of the data source.CreateDataSourceResponse.Builderstatus(DataSourceStatus status)The status of the data source.CreateDataSourceResponse.Buildertype(String type)The type of the data source.CreateDataSourceResponse.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
CreateDataSourceResponse.Builder assetFormsOutput(Collection<FormOutput> assetFormsOutput)
The metadata forms attached to the assets that this data source creates.
- Parameters:
assetFormsOutput- The metadata forms attached to the assets that this data source creates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
CreateDataSourceResponse.Builder assetFormsOutput(FormOutput... assetFormsOutput)
The metadata forms attached to the assets that this data source creates.
- Parameters:
assetFormsOutput- The metadata forms attached to the assets that this data source creates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
CreateDataSourceResponse.Builder assetFormsOutput(Consumer<FormOutput.Builder>... assetFormsOutput)
The metadata forms attached to the assets that this data source creates.
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
CreateDataSourceResponse.Builder configuration(DataSourceConfigurationOutput configuration)
Specifies the configuration of the data source. It can be set to either
glueRunConfigurationorredshiftRunConfiguration.- Parameters:
configuration- Specifies the configuration of the data source. It can be set to eitherglueRunConfigurationorredshiftRunConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateDataSourceResponse.Builder configuration(Consumer<DataSourceConfigurationOutput.Builder> configuration)
Specifies the configuration of the data source. It can be set to either
This is a convenience method that creates an instance of theglueRunConfigurationorredshiftRunConfiguration.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
CreateDataSourceResponse.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
CreateDataSourceResponse.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
CreateDataSourceResponse.Builder domainId(String domainId)
The ID of the Amazon DataZone domain in which the data source is created.
- Parameters:
domainId- The ID of the Amazon DataZone domain in which the data source is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSetting
CreateDataSourceResponse.Builder enableSetting(String enableSetting)
Specifies whether the data source is enabled.
- Parameters:
enableSetting- Specifies whether the data source is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnableSetting,EnableSetting
-
enableSetting
CreateDataSourceResponse.Builder enableSetting(EnableSetting enableSetting)
Specifies whether the data source is enabled.
- Parameters:
enableSetting- Specifies whether the data source is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnableSetting,EnableSetting
-
environmentId
CreateDataSourceResponse.Builder environmentId(String environmentId)
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
- Parameters:
environmentId- The unique identifier of the Amazon DataZone environment to which the data source publishes assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
CreateDataSourceResponse.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 CreateDataSourceResponse.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
CreateDataSourceResponse.Builder id(String id)
The unique identifier of the data source.
- Parameters:
id- The unique identifier of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAt
CreateDataSourceResponse.Builder lastRunAt(Instant lastRunAt)
The timestamp that specifies when the data source was last run.
- Parameters:
lastRunAt- The timestamp that specifies when the data source was last run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
CreateDataSourceResponse.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 CreateDataSourceResponse.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
CreateDataSourceResponse.Builder lastRunStatus(String 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:
DataSourceRunStatus,DataSourceRunStatus
-
lastRunStatus
CreateDataSourceResponse.Builder lastRunStatus(DataSourceRunStatus 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:
DataSourceRunStatus,DataSourceRunStatus
-
name
CreateDataSourceResponse.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
CreateDataSourceResponse.Builder projectId(String projectId)
The ID of the Amazon DataZone project to which the data source is added.
- Parameters:
projectId- The ID of the Amazon DataZone project to which the data source is added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishOnImport
CreateDataSourceResponse.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
CreateDataSourceResponse.Builder recommendation(RecommendationConfiguration recommendation)
Specifies whether the business name generation is to be enabled for this data source.
- Parameters:
recommendation- Specifies whether the business name generation is to be enabled for this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
default CreateDataSourceResponse.Builder recommendation(Consumer<RecommendationConfiguration.Builder> recommendation)
Specifies whether the business name generation is to be enabled for this 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
CreateDataSourceResponse.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 CreateDataSourceResponse.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)
-
status
CreateDataSourceResponse.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
CreateDataSourceResponse.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
CreateDataSourceResponse.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
CreateDataSourceResponse.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.
-
-