Interface IngestionJobSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IngestionJobSummary.Builder,IngestionJobSummary>,SdkBuilder<IngestionJobSummary.Builder,IngestionJobSummary>,SdkPojo
- Enclosing class:
- IngestionJobSummary
public static interface IngestionJobSummary.Builder extends SdkPojo, CopyableBuilder<IngestionJobSummary.Builder,IngestionJobSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IngestionJobSummary.BuilderdataSourceId(String dataSourceId)Sets the value of the DataSourceId property for this object.IngestionJobSummary.Builderdescription(String description)Sets the value of the Description property for this object.IngestionJobSummary.BuilderingestionJobId(String ingestionJobId)Sets the value of the IngestionJobId property for this object.IngestionJobSummary.BuilderknowledgeBaseId(String knowledgeBaseId)Sets the value of the KnowledgeBaseId property for this object.IngestionJobSummary.BuilderstartedAt(Instant startedAt)Sets the value of the StartedAt property for this object.default IngestionJobSummary.Builderstatistics(Consumer<IngestionJobStatistics.Builder> statistics)Sets the value of the Statistics property for this object.IngestionJobSummary.Builderstatistics(IngestionJobStatistics statistics)Sets the value of the Statistics property for this object.IngestionJobSummary.Builderstatus(String status)Sets the value of the Status property for this object.IngestionJobSummary.Builderstatus(IngestionJobStatus status)Sets the value of the Status property for this object.IngestionJobSummary.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt property for this object.-
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, sdkFields
-
-
-
-
Method Detail
-
knowledgeBaseId
IngestionJobSummary.Builder knowledgeBaseId(String knowledgeBaseId)
Sets the value of the KnowledgeBaseId property for this object.- Parameters:
knowledgeBaseId- The new value for the KnowledgeBaseId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
IngestionJobSummary.Builder dataSourceId(String dataSourceId)
Sets the value of the DataSourceId property for this object.- Parameters:
dataSourceId- The new value for the DataSourceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionJobId
IngestionJobSummary.Builder ingestionJobId(String ingestionJobId)
Sets the value of the IngestionJobId property for this object.- Parameters:
ingestionJobId- The new value for the IngestionJobId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
IngestionJobSummary.Builder description(String description)
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
IngestionJobSummary.Builder status(String status)
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IngestionJobStatus,IngestionJobStatus
-
status
IngestionJobSummary.Builder status(IngestionJobStatus status)
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IngestionJobStatus,IngestionJobStatus
-
startedAt
IngestionJobSummary.Builder startedAt(Instant startedAt)
Sets the value of the StartedAt property for this object.- Parameters:
startedAt- The new value for the StartedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
IngestionJobSummary.Builder updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.- Parameters:
updatedAt- The new value for the UpdatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
IngestionJobSummary.Builder statistics(IngestionJobStatistics statistics)
Sets the value of the Statistics property for this object.- Parameters:
statistics- The new value for the Statistics property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
default IngestionJobSummary.Builder statistics(Consumer<IngestionJobStatistics.Builder> statistics)
Sets the value of the Statistics property for this object. This is a convenience method that creates an instance of theIngestionJobStatistics.Builderavoiding the need to create one manually viaIngestionJobStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(IngestionJobStatistics).- Parameters:
statistics- a consumer that will call methods onIngestionJobStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
statistics(IngestionJobStatistics)
-
-