Interface CreateAdapterVersionRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateAdapterVersionRequest.Builder,,- CreateAdapterVersionRequest> - SdkBuilder<CreateAdapterVersionRequest.Builder,,- CreateAdapterVersionRequest> - SdkPojo,- SdkRequest.Builder,- TextractRequest.Builder
- Enclosing class:
- CreateAdapterVersionRequest
- 
Method SummaryModifier and TypeMethodDescriptionA string containing a unique ID for the adapter that will receive a new version.clientRequestToken(String clientRequestToken) Idempotent token is used to recognize the request.datasetConfig(Consumer<AdapterVersionDatasetConfig.Builder> datasetConfig) Specifies a dataset used to train a new adapter version.datasetConfig(AdapterVersionDatasetConfig datasetConfig) Specifies a dataset used to train a new adapter version.The identifier for your AWS Key Management Service key (AWS KMS key).outputConfig(Consumer<OutputConfig.Builder> outputConfig) Sets the value of the OutputConfig property for this object.outputConfig(OutputConfig outputConfig) Sets the value of the OutputConfig property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A set of tags (key-value pairs) that you want to attach to the adapter version.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.textract.model.TextractRequest.Builderbuild
- 
Method Details- 
adapterIdA string containing a unique ID for the adapter that will receive a new version. - Parameters:
- adapterId- A string containing a unique ID for the adapter that will receive a new version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
clientRequestTokenIdempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times. - Parameters:
- clientRequestToken- Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
datasetConfigSpecifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value. - Parameters:
- datasetConfig- Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
datasetConfigdefault CreateAdapterVersionRequest.Builder datasetConfig(Consumer<AdapterVersionDatasetConfig.Builder> datasetConfig) Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value. This is a convenience method that creates an instance of theAdapterVersionDatasetConfig.Builderavoiding the need to create one manually viaAdapterVersionDatasetConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasetConfig(AdapterVersionDatasetConfig).- Parameters:
- datasetConfig- a consumer that will call methods on- AdapterVersionDatasetConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
kmsKeyIdThe identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents. - Parameters:
- kmsKeyId- The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
outputConfigSets the value of the OutputConfig property for this object.- Parameters:
- outputConfig- The new value for the OutputConfig property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
outputConfigdefault CreateAdapterVersionRequest.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig) Sets the value of the OutputConfig property for this object. This is a convenience method that creates an instance of theOutputConfig.Builderavoiding the need to create one manually viaOutputConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(OutputConfig).- Parameters:
- outputConfig- a consumer that will call methods on- OutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsA set of tags (key-value pairs) that you want to attach to the adapter version. - Parameters:
- tags- A set of tags (key-value pairs) that you want to attach to the adapter version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateAdapterVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateAdapterVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-