Interface DataSourceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSourceSummary.Builder,
,DataSourceSummary> SdkBuilder<DataSourceSummary.Builder,
,DataSourceSummary> SdkPojo
- Enclosing class:
DataSourceSummary
-
Method Summary
Modifier and TypeMethodDescriptionconnectionId
(String connectionId) The connection ID that's part of the data source summary.The timestamp of when the data source was created.dataSourceId
(String dataSourceId) The ID of the data source.description
(String description) The data source description.The ID of the Amazon DataZone domain in which the data source exists.enableSetting
(String enableSetting) Specifies whether the data source is enabled.enableSetting
(EnableSetting enableSetting) Specifies whether the data source is enabled.environmentId
(String environmentId) The ID of the environment in which the data source exists.lastRunAssetCount
(Integer lastRunAssetCount) The count of the assets created during the last data source run.The timestamp of when the data source run was last performed.default DataSourceSummary.Builder
lastRunErrorMessage
(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage) Sets the value of the LastRunErrorMessage property for this object.lastRunErrorMessage
(DataSourceErrorMessage lastRunErrorMessage) Sets the value of the LastRunErrorMessage property for this object.lastRunStatus
(String lastRunStatus) The status of the last data source run.lastRunStatus
(DataSourceRunStatus lastRunStatus) The status of the last data source run.The name of the data source.default DataSourceSummary.Builder
schedule
(Consumer<ScheduleConfiguration.Builder> schedule) Sets the value of the Schedule property for this object.schedule
(ScheduleConfiguration schedule) Sets the value of the Schedule property for this object.The status of the data source.status
(DataSourceStatus status) The status of the data source.The type of the data source.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
connectionId
The connection ID that's part of the data source summary.
- Parameters:
connectionId
- The connection ID that's part of the data source summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
dataSourceId
The ID of the data source.
- Parameters:
dataSourceId
- The ID of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The data source description.
- Parameters:
description
- The data source description.- 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 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
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
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:
-
environmentId
The ID of the environment in which the data source exists.
- Parameters:
environmentId
- The ID of the environment in which the data source exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAssetCount
The count of the assets created during the last data source run.
- Parameters:
lastRunAssetCount
- The count of the assets created during the last data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAt
The timestamp of when the data source run was last performed.
- Parameters:
lastRunAt
- The timestamp of when the data source run was last performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
Sets the value of the LastRunErrorMessage property for this object.- Parameters:
lastRunErrorMessage
- The new value for the LastRunErrorMessage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
default DataSourceSummary.Builder lastRunErrorMessage(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage) Sets the value of the LastRunErrorMessage property for this object. 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 data source run.
- Parameters:
lastRunStatus
- The status of the last data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunStatus
The status of the last data source run.
- Parameters:
lastRunStatus
- The status of the last data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
schedule
Sets the value of the Schedule property for this object.- Parameters:
schedule
- The new value for the Schedule property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
Sets the value of the Schedule property for this object. 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:
-
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:
-
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:
-
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
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.
-