public static interface Ingestion.Builder extends SdkPojo, CopyableBuilder<Ingestion.Builder,Ingestion>
Modifier and Type | Method and Description |
---|---|
Ingestion.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
Ingestion.Builder |
createdTime(Instant createdTime)
The time that this ingestion started.
|
default Ingestion.Builder |
errorInfo(Consumer<ErrorInfo.Builder> errorInfo)
Error information for this ingestion.
|
Ingestion.Builder |
errorInfo(ErrorInfo errorInfo)
Error information for this ingestion.
|
Ingestion.Builder |
ingestionId(String ingestionId)
Ingestion ID.
|
Ingestion.Builder |
ingestionSizeInBytes(Long ingestionSizeInBytes)
The size of the data ingested, in bytes.
|
Ingestion.Builder |
ingestionStatus(IngestionStatus ingestionStatus)
Ingestion status.
|
Ingestion.Builder |
ingestionStatus(String ingestionStatus)
Ingestion status.
|
Ingestion.Builder |
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.
|
Ingestion.Builder |
queueInfo(QueueInfo queueInfo)
Sets the value of the QueueInfo property for this object.
|
Ingestion.Builder |
requestSource(IngestionRequestSource requestSource)
Event source for this ingestion.
|
Ingestion.Builder |
requestSource(String requestSource)
Event source for this ingestion.
|
Ingestion.Builder |
requestType(IngestionRequestType requestType)
Type of this ingestion.
|
Ingestion.Builder |
requestType(String requestType)
Type of this ingestion.
|
default Ingestion.Builder |
rowInfo(Consumer<RowInfo.Builder> rowInfo)
Sets the value of the RowInfo property for this object.
|
Ingestion.Builder |
rowInfo(RowInfo rowInfo)
Sets the value of the RowInfo property for this object.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Ingestion.Builder arn(String arn)
The Amazon Resource Name (ARN) of the resource.
arn
- The Amazon Resource Name (ARN) of the resource.Ingestion.Builder ingestionId(String ingestionId)
Ingestion ID.
ingestionId
- Ingestion ID.Ingestion.Builder ingestionStatus(String ingestionStatus)
Ingestion status.
ingestionStatus
- Ingestion status.IngestionStatus
,
IngestionStatus
Ingestion.Builder ingestionStatus(IngestionStatus ingestionStatus)
Ingestion status.
ingestionStatus
- Ingestion status.IngestionStatus
,
IngestionStatus
Ingestion.Builder errorInfo(ErrorInfo errorInfo)
Error information for this ingestion.
errorInfo
- Error information for this ingestion.default Ingestion.Builder errorInfo(Consumer<ErrorInfo.Builder> 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 via ErrorInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to errorInfo(ErrorInfo)
.
errorInfo
- a consumer that will call methods on ErrorInfo.Builder
errorInfo(ErrorInfo)
Ingestion.Builder rowInfo(RowInfo rowInfo)
rowInfo
- The new value for the RowInfo property for this object.default Ingestion.Builder rowInfo(Consumer<RowInfo.Builder> rowInfo)
RowInfo.Builder
avoiding the need to
create one manually via RowInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to rowInfo(RowInfo)
.
rowInfo
- a consumer that will call methods on RowInfo.Builder
rowInfo(RowInfo)
Ingestion.Builder queueInfo(QueueInfo queueInfo)
queueInfo
- The new value for the QueueInfo property for this object.default Ingestion.Builder queueInfo(Consumer<QueueInfo.Builder> queueInfo)
QueueInfo.Builder
avoiding the need to
create one manually via QueueInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to queueInfo(QueueInfo)
.
queueInfo
- a consumer that will call methods on QueueInfo.Builder
queueInfo(QueueInfo)
Ingestion.Builder createdTime(Instant createdTime)
The time that this ingestion started.
createdTime
- The time that this ingestion started.Ingestion.Builder ingestionTimeInSeconds(Long ingestionTimeInSeconds)
The time that this ingestion took, measured in seconds.
ingestionTimeInSeconds
- The time that this ingestion took, measured in seconds.Ingestion.Builder ingestionSizeInBytes(Long ingestionSizeInBytes)
The size of the data ingested, in bytes.
ingestionSizeInBytes
- The size of the data ingested, in bytes.Ingestion.Builder requestSource(String requestSource)
Event source for this ingestion.
requestSource
- Event source for this ingestion.IngestionRequestSource
,
IngestionRequestSource
Ingestion.Builder requestSource(IngestionRequestSource requestSource)
Event source for this ingestion.
requestSource
- Event source for this ingestion.IngestionRequestSource
,
IngestionRequestSource
Ingestion.Builder requestType(String requestType)
Type of this ingestion.
requestType
- Type of this ingestion.IngestionRequestType
,
IngestionRequestType
Ingestion.Builder requestType(IngestionRequestType requestType)
Type of this ingestion.
requestType
- Type of this ingestion.IngestionRequestType
,
IngestionRequestType
Copyright © 2023. All rights reserved.