Interface DataSourceSummary.Builder

  • Method Details

    • 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

      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:
    • 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 the DataSourceErrorMessage.Builder avoiding the need to create one manually via DataSourceErrorMessage.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lastRunErrorMessage(DataSourceErrorMessage).

      Parameters:
      lastRunErrorMessage - a consumer that will call methods on DataSourceErrorMessage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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 the ScheduleConfiguration.Builder avoiding the need to create one manually via ScheduleConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to schedule(ScheduleConfiguration).

      Parameters:
      schedule - a consumer that will call methods on ScheduleConfiguration.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

      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.