Interface CreateBlueprintRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBlueprintRequest.Builder,,CreateBlueprintRequest> SdkBuilder<CreateBlueprintRequest.Builder,,CreateBlueprintRequest> SdkPojo,SdkRequest.Builder,TextractRequest.Builder
- Enclosing class:
CreateBlueprintRequest
-
Method Summary
Modifier and TypeMethodDescriptionblueprintName(String blueprintName) A unique name for the blueprint.clientRequestToken(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.default CreateBlueprintRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the blueprint at rest.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the blueprint at rest.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The schema of the blueprint, which defines the fields to extract and their expected structure.A set of tags (key-value pairs) to assign to the blueprint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.textract.model.TextractRequest.Builder
build
-
Method Details
-
clientRequestToken
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you use the same token for a request that matches a previous request, the service ignores the request, but does not return an error.
- Parameters:
clientRequestToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you use the same token for a request that matches a previous request, the service ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprintName
A unique name for the blueprint.
- Parameters:
blueprintName- A unique name for the blueprint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema of the blueprint, which defines the fields to extract and their expected structure.
- Parameters:
schema- The schema of the blueprint, which defines the fields to extract and their expected structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
CreateBlueprintRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the blueprint at rest.
- Parameters:
encryptionConfiguration- The AWS KMS encryption configuration used to encrypt the blueprint at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateBlueprintRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the blueprint at rest.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A set of tags (key-value pairs) to assign to the blueprint.
- Parameters:
tags- A set of tags (key-value pairs) to assign to the blueprint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBlueprintRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateBlueprintRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-