Interface Ingestion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Ingestion.Builder,Ingestion>,SdkBuilder<Ingestion.Builder,Ingestion>,SdkPojo
- Enclosing class:
- Ingestion
@Mutable @NotThreadSafe public static interface Ingestion.Builder extends SdkPojo, CopyableBuilder<Ingestion.Builder,Ingestion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Ingestion.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource.Ingestion.BuildercreatedTime(Instant createdTime)The time that this ingestion started.default Ingestion.BuildererrorInfo(Consumer<ErrorInfo.Builder> errorInfo)Error information for this ingestion.Ingestion.BuildererrorInfo(ErrorInfo errorInfo)Error information for this ingestion.Ingestion.BuilderingestionId(String ingestionId)Ingestion ID.Ingestion.BuilderingestionSizeInBytes(Long ingestionSizeInBytes)The size of the data ingested, in bytes.Ingestion.BuilderingestionStatus(String ingestionStatus)Ingestion status.Ingestion.BuilderingestionStatus(IngestionStatus ingestionStatus)Ingestion status.Ingestion.BuilderingestionTimeInSeconds(Long ingestionTimeInSeconds)The time that this ingestion took, measured in seconds.default Ingestion.BuilderqueueInfo(Consumer<QueueInfo.Builder> queueInfo)Sets the value of the QueueInfo property for this object.Ingestion.BuilderqueueInfo(QueueInfo queueInfo)Sets the value of the QueueInfo property for this object.Ingestion.BuilderrequestSource(String requestSource)Event source for this ingestion.Ingestion.BuilderrequestSource(IngestionRequestSource requestSource)Event source for this ingestion.Ingestion.BuilderrequestType(String requestType)Type of this ingestion.Ingestion.BuilderrequestType(IngestionRequestType requestType)Type of this ingestion.default Ingestion.BuilderrowInfo(Consumer<RowInfo.Builder> rowInfo)Sets the value of the RowInfo property for this object.Ingestion.BuilderrowInfo(RowInfo rowInfo)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
Ingestion.Builder arn(String 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.Builder ingestionId(String ingestionId)
Ingestion ID.
- Parameters:
ingestionId- Ingestion ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionStatus
Ingestion.Builder ingestionStatus(String 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,IngestionStatus
-
ingestionStatus
Ingestion.Builder ingestionStatus(IngestionStatus 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,IngestionStatus
-
errorInfo
Ingestion.Builder errorInfo(ErrorInfo 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
default Ingestion.Builder errorInfo(Consumer<ErrorInfo.Builder> errorInfo)
Error information for this ingestion.
This is a convenience method that creates an instance of theErrorInfo.Builderavoiding the need to create one manually viaErrorInfo.builder().When the
Consumercompletes,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:
errorInfo(ErrorInfo)
-
rowInfo
Ingestion.Builder rowInfo(RowInfo 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
default Ingestion.Builder rowInfo(Consumer<RowInfo.Builder> rowInfo)
Sets the value of the RowInfo property for this object. This is a convenience method that creates an instance of theRowInfo.Builderavoiding the need to create one manually viaRowInfo.builder().When the
Consumercompletes,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:
rowInfo(RowInfo)
-
queueInfo
Ingestion.Builder queueInfo(QueueInfo 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
default Ingestion.Builder queueInfo(Consumer<QueueInfo.Builder> queueInfo)
Sets the value of the QueueInfo property for this object. This is a convenience method that creates an instance of theQueueInfo.Builderavoiding the need to create one manually viaQueueInfo.builder().When the
Consumercompletes,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:
queueInfo(QueueInfo)
-
createdTime
Ingestion.Builder createdTime(Instant 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
Ingestion.Builder ingestionTimeInSeconds(Long 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
Ingestion.Builder ingestionSizeInBytes(Long 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
Ingestion.Builder requestSource(String 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:
IngestionRequestSource,IngestionRequestSource
-
requestSource
Ingestion.Builder requestSource(IngestionRequestSource 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:
IngestionRequestSource,IngestionRequestSource
-
requestType
Ingestion.Builder requestType(String 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:
IngestionRequestType,IngestionRequestType
-
requestType
Ingestion.Builder requestType(IngestionRequestType 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:
IngestionRequestType,IngestionRequestType
-
-