Interface IngestionJob.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IngestionJob.Builder,IngestionJob>,SdkBuilder<IngestionJob.Builder,IngestionJob>,SdkPojo
- Enclosing class:
- IngestionJob
public static interface IngestionJob.Builder extends SdkPojo, CopyableBuilder<IngestionJob.Builder,IngestionJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IngestionJob.BuilderdataSourceId(String dataSourceId)Sets the value of the DataSourceId property for this object.IngestionJob.Builderdescription(String description)Sets the value of the Description property for this object.IngestionJob.BuilderfailureReasons(String... failureReasons)Sets the value of the FailureReasons property for this object.IngestionJob.BuilderfailureReasons(Collection<String> failureReasons)Sets the value of the FailureReasons property for this object.IngestionJob.BuilderingestionJobId(String ingestionJobId)Sets the value of the IngestionJobId property for this object.IngestionJob.BuilderknowledgeBaseId(String knowledgeBaseId)Sets the value of the KnowledgeBaseId property for this object.IngestionJob.BuilderstartedAt(Instant startedAt)Sets the value of the StartedAt property for this object.default IngestionJob.Builderstatistics(Consumer<IngestionJobStatistics.Builder> statistics)Sets the value of the Statistics property for this object.IngestionJob.Builderstatistics(IngestionJobStatistics statistics)Sets the value of the Statistics property for this object.IngestionJob.Builderstatus(String status)Sets the value of the Status property for this object.IngestionJob.Builderstatus(IngestionJobStatus status)Sets the value of the Status property for this object.IngestionJob.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
IngestionJob.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
IngestionJob.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
IngestionJob.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
IngestionJob.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
IngestionJob.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
IngestionJob.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
-
statistics
IngestionJob.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 IngestionJob.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)
-
failureReasons
IngestionJob.Builder failureReasons(Collection<String> failureReasons)
Sets the value of the FailureReasons property for this object.- Parameters:
failureReasons- The new value for the FailureReasons property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
IngestionJob.Builder failureReasons(String... failureReasons)
Sets the value of the FailureReasons property for this object.- Parameters:
failureReasons- The new value for the FailureReasons property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
IngestionJob.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
IngestionJob.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.
-
-