Interface Ingestion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Ingestion.Builder,
,Ingestion> SdkBuilder<Ingestion.Builder,
,Ingestion> SdkPojo
- Enclosing class:
Ingestion
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource.createdTime
(Instant createdTime) The time that this ingestion started.default Ingestion.Builder
errorInfo
(Consumer<ErrorInfo.Builder> errorInfo) Error information for this ingestion.Error information for this ingestion.ingestionId
(String ingestionId) Ingestion ID.ingestionSizeInBytes
(Long ingestionSizeInBytes) The size of the data ingested, in bytes.ingestionStatus
(String ingestionStatus) Ingestion status.ingestionStatus
(IngestionStatus ingestionStatus) Ingestion status.ingestionTimeInSeconds
(Long ingestionTimeInSeconds) The time that this ingestion took, measured in seconds.default Ingestion.Builder
queueInfo
(Consumer<QueueInfo.Builder> queueInfo) Sets the value of the QueueInfo property for this object.Sets the value of the QueueInfo property for this object.requestSource
(String requestSource) Event source for this ingestion.requestSource
(IngestionRequestSource requestSource) Event source for this ingestion.requestType
(String requestType) Type of this ingestion.requestType
(IngestionRequestType requestType) Type of this ingestion.default Ingestion.Builder
rowInfo
(Consumer<RowInfo.Builder> rowInfo) Sets the value of the RowInfo property for this object.Sets the value of the RowInfo 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 Details
-
arn
The Amazon Resource Name (ARN) of the resource.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionId
Ingestion ID.
- Parameters:
ingestionId
- Ingestion ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionStatus
Ingestion status.
- Parameters:
ingestionStatus
- Ingestion status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ingestionStatus
Ingestion status.
- Parameters:
ingestionStatus
- Ingestion status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorInfo
Error information for this ingestion.
- Parameters:
errorInfo
- Error information for this ingestion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
Error information for this ingestion.
This is a convenience method that creates an instance of theErrorInfo.Builder
avoiding the need to create one manually viaErrorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorInfo(ErrorInfo)
.- Parameters:
errorInfo
- a consumer that will call methods onErrorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rowInfo
Sets the value of the RowInfo property for this object.- Parameters:
rowInfo
- The new value for the RowInfo property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rowInfo
Sets the value of the RowInfo property for this object. This is a convenience method that creates an instance of theRowInfo.Builder
avoiding the need to create one manually viaRowInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torowInfo(RowInfo)
.- Parameters:
rowInfo
- a consumer that will call methods onRowInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queueInfo
Sets the value of the QueueInfo property for this object.- Parameters:
queueInfo
- The new value for the QueueInfo property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
Sets the value of the QueueInfo property for this object. This is a convenience method that creates an instance of theQueueInfo.Builder
avoiding the need to create one manually viaQueueInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueueInfo(QueueInfo)
.- Parameters:
queueInfo
- a consumer that will call methods onQueueInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The time that this ingestion started.
- Parameters:
createdTime
- The time that this ingestion started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionTimeInSeconds
The time that this ingestion took, measured in seconds.
- Parameters:
ingestionTimeInSeconds
- The time that this ingestion took, measured in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionSizeInBytes
The size of the data ingested, in bytes.
- Parameters:
ingestionSizeInBytes
- The size of the data ingested, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestSource
Event source for this ingestion.
- Parameters:
requestSource
- Event source for this ingestion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestSource
Event source for this ingestion.
- Parameters:
requestSource
- Event source for this ingestion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestType
Type of this ingestion.
- Parameters:
requestType
- Type of this ingestion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestType
Type of this ingestion.
- Parameters:
requestType
- Type of this ingestion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-