Interface DataSourceSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>,SdkBuilder<DataSourceSummary.Builder,DataSourceSummary>,SdkPojo
- Enclosing class:
- DataSourceSummary
public static interface DataSourceSummary.Builder extends SdkPojo, CopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataSourceSummary.BuilderconnectionId(String connectionId)The connection ID that's part of the data source summary.DataSourceSummary.BuildercreatedAt(Instant createdAt)The timestamp of when the data source was created.DataSourceSummary.BuilderdataSourceId(String dataSourceId)The ID of the data source.DataSourceSummary.Builderdescription(String description)The data source description.DataSourceSummary.BuilderdomainId(String domainId)The ID of the Amazon DataZone domain in which the data source exists.DataSourceSummary.BuilderenableSetting(String enableSetting)Specifies whether the data source is enabled.DataSourceSummary.BuilderenableSetting(EnableSetting enableSetting)Specifies whether the data source is enabled.DataSourceSummary.BuilderenvironmentId(String environmentId)The ID of the environment in which the data source exists.DataSourceSummary.BuilderlastRunAssetCount(Integer lastRunAssetCount)The count of the assets created during the last data source run.DataSourceSummary.BuilderlastRunAt(Instant lastRunAt)The timestamp of when the data source run was last performed.default DataSourceSummary.BuilderlastRunErrorMessage(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage)Sets the value of the LastRunErrorMessage property for this object.DataSourceSummary.BuilderlastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage)Sets the value of the LastRunErrorMessage property for this object.DataSourceSummary.BuilderlastRunStatus(String lastRunStatus)The status of the last data source run.DataSourceSummary.BuilderlastRunStatus(DataSourceRunStatus lastRunStatus)The status of the last data source run.DataSourceSummary.Buildername(String name)The name of the data source.default DataSourceSummary.Builderschedule(Consumer<ScheduleConfiguration.Builder> schedule)Sets the value of the Schedule property for this object.DataSourceSummary.Builderschedule(ScheduleConfiguration schedule)Sets the value of the Schedule property for this object.DataSourceSummary.Builderstatus(String status)The status of the data source.DataSourceSummary.Builderstatus(DataSourceStatus status)The status of the data source.DataSourceSummary.Buildertype(String type)The type of the data source.DataSourceSummary.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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
connectionId
DataSourceSummary.Builder connectionId(String 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
DataSourceSummary.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.
-
dataSourceId
DataSourceSummary.Builder dataSourceId(String 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
DataSourceSummary.Builder description(String 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
DataSourceSummary.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
DataSourceSummary.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
DataSourceSummary.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
DataSourceSummary.Builder environmentId(String 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
DataSourceSummary.Builder lastRunAssetCount(Integer 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
DataSourceSummary.Builder lastRunAt(Instant 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
DataSourceSummary.Builder lastRunErrorMessage(DataSourceErrorMessage 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.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
DataSourceSummary.Builder lastRunStatus(String 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:
DataSourceRunStatus,DataSourceRunStatus
-
lastRunStatus
DataSourceSummary.Builder lastRunStatus(DataSourceRunStatus 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:
DataSourceRunStatus,DataSourceRunStatus
-
name
DataSourceSummary.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.
-
schedule
DataSourceSummary.Builder schedule(ScheduleConfiguration 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
default DataSourceSummary.Builder schedule(Consumer<ScheduleConfiguration.Builder> schedule)
Sets the value of the Schedule property for this object. 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
DataSourceSummary.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
DataSourceSummary.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
DataSourceSummary.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
DataSourceSummary.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.
-
-