Interface StartIngestionJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<StartIngestionJobResponse.Builder,StartIngestionJobResponse>,SdkBuilder<StartIngestionJobResponse.Builder,StartIngestionJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartIngestionJobResponse
public static interface StartIngestionJobResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<StartIngestionJobResponse.Builder,StartIngestionJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StartIngestionJobResponse.BuilderingestionJob(Consumer<IngestionJob.Builder> ingestionJob)Sets the value of the IngestionJob property for this object.StartIngestionJobResponse.BuilderingestionJob(IngestionJob ingestionJob)Sets the value of the IngestionJob property for this object.-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ingestionJob
StartIngestionJobResponse.Builder ingestionJob(IngestionJob ingestionJob)
Sets the value of the IngestionJob property for this object.- Parameters:
ingestionJob- The new value for the IngestionJob property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionJob
default StartIngestionJobResponse.Builder ingestionJob(Consumer<IngestionJob.Builder> ingestionJob)
Sets the value of the IngestionJob property for this object. This is a convenience method that creates an instance of theIngestionJob.Builderavoiding the need to create one manually viaIngestionJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toingestionJob(IngestionJob).- Parameters:
ingestionJob- a consumer that will call methods onIngestionJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ingestionJob(IngestionJob)
-
-