Interface CreateProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProjectRequest.Builder,,CreateProjectRequest> SdkBuilder<CreateProjectRequest.Builder,,CreateProjectRequest> SdkPojo,SdkRequest.Builder,TextractRequest.Builder
- Enclosing class:
CreateProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.default CreateProjectRequest.BuildercustomConfiguration(Consumer<CustomConfiguration.Builder> customConfiguration) The configuration that associates blueprints with the project for custom output extraction.customConfiguration(CustomConfiguration customConfiguration) The configuration that associates blueprints with the project for custom output extraction.default CreateProjectRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the project at rest.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the project at rest.default CreateProjectRequest.BuilderextractionConfiguration(Consumer<ExtractionConfiguration.Builder> extractionConfiguration) The configuration that controls how Amazon Textract extracts content from the document, including bounding boxes, granularity, and output format.extractionConfiguration(ExtractionConfiguration extractionConfiguration) The configuration that controls how Amazon Textract extracts content from the document, including bounding boxes, granularity, and output format.default CreateProjectRequest.BuildergenerativeConfiguration(Consumer<GenerativeConfiguration.Builder> generativeConfiguration) The configuration that controls generative capabilities such as summarization and figure captioning.generativeConfiguration(GenerativeConfiguration generativeConfiguration) The configuration that controls generative capabilities such as summarization and figure captioning.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectDescription(String projectDescription) A description of the project.projectName(String projectName) A unique name for the project.default CreateProjectRequest.BuildersensitiveDataConfiguration(Consumer<SensitiveDataConfiguration.Builder> sensitiveDataConfiguration) The configuration that controls detection and redaction of sensitive data, such as personally identifiable information (PII).sensitiveDataConfiguration(SensitiveDataConfiguration sensitiveDataConfiguration) The configuration that controls detection and redaction of sensitive data, such as personally identifiable information (PII).default CreateProjectRequest.BuildersplitterConfiguration(Consumer<SplitterConfiguration.Builder> splitterConfiguration) The configuration that controls whether multi-document packets are split into individual documents.splitterConfiguration(SplitterConfiguration splitterConfiguration) The configuration that controls whether multi-document packets are split into individual documents.A set of tags (key-value pairs) to assign to the project.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.
-
projectName
A unique name for the project.
- Parameters:
projectName- A unique name for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectDescription
A description of the project.
- Parameters:
projectDescription- A description of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractionConfiguration
CreateProjectRequest.Builder extractionConfiguration(ExtractionConfiguration extractionConfiguration) The configuration that controls how Amazon Textract extracts content from the document, including bounding boxes, granularity, and output format.
- Parameters:
extractionConfiguration- The configuration that controls how Amazon Textract extracts content from the document, including bounding boxes, granularity, and output format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractionConfiguration
default CreateProjectRequest.Builder extractionConfiguration(Consumer<ExtractionConfiguration.Builder> extractionConfiguration) The configuration that controls how Amazon Textract extracts content from the document, including bounding boxes, granularity, and output format.
This is a convenience method that creates an instance of theExtractionConfiguration.Builderavoiding the need to create one manually viaExtractionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toextractionConfiguration(ExtractionConfiguration).- Parameters:
extractionConfiguration- a consumer that will call methods onExtractionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
generativeConfiguration
CreateProjectRequest.Builder generativeConfiguration(GenerativeConfiguration generativeConfiguration) The configuration that controls generative capabilities such as summarization and figure captioning.
- Parameters:
generativeConfiguration- The configuration that controls generative capabilities such as summarization and figure captioning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeConfiguration
default CreateProjectRequest.Builder generativeConfiguration(Consumer<GenerativeConfiguration.Builder> generativeConfiguration) The configuration that controls generative capabilities such as summarization and figure captioning.
This is a convenience method that creates an instance of theGenerativeConfiguration.Builderavoiding the need to create one manually viaGenerativeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togenerativeConfiguration(GenerativeConfiguration).- Parameters:
generativeConfiguration- a consumer that will call methods onGenerativeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customConfiguration
The configuration that associates blueprints with the project for custom output extraction.
- Parameters:
customConfiguration- The configuration that associates blueprints with the project for custom output extraction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customConfiguration
default CreateProjectRequest.Builder customConfiguration(Consumer<CustomConfiguration.Builder> customConfiguration) The configuration that associates blueprints with the project for custom output extraction.
This is a convenience method that creates an instance of theCustomConfiguration.Builderavoiding the need to create one manually viaCustomConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomConfiguration(CustomConfiguration).- Parameters:
customConfiguration- a consumer that will call methods onCustomConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
splitterConfiguration
The configuration that controls whether multi-document packets are split into individual documents.
- Parameters:
splitterConfiguration- The configuration that controls whether multi-document packets are split into individual documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitterConfiguration
default CreateProjectRequest.Builder splitterConfiguration(Consumer<SplitterConfiguration.Builder> splitterConfiguration) The configuration that controls whether multi-document packets are split into individual documents.
This is a convenience method that creates an instance of theSplitterConfiguration.Builderavoiding the need to create one manually viaSplitterConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosplitterConfiguration(SplitterConfiguration).- Parameters:
splitterConfiguration- a consumer that will call methods onSplitterConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sensitiveDataConfiguration
CreateProjectRequest.Builder sensitiveDataConfiguration(SensitiveDataConfiguration sensitiveDataConfiguration) The configuration that controls detection and redaction of sensitive data, such as personally identifiable information (PII).
- Parameters:
sensitiveDataConfiguration- The configuration that controls detection and redaction of sensitive data, such as personally identifiable information (PII).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitiveDataConfiguration
default CreateProjectRequest.Builder sensitiveDataConfiguration(Consumer<SensitiveDataConfiguration.Builder> sensitiveDataConfiguration) The configuration that controls detection and redaction of sensitive data, such as personally identifiable information (PII).
This is a convenience method that creates an instance of theSensitiveDataConfiguration.Builderavoiding the need to create one manually viaSensitiveDataConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosensitiveDataConfiguration(SensitiveDataConfiguration).- Parameters:
sensitiveDataConfiguration- a consumer that will call methods onSensitiveDataConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
CreateProjectRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the project at rest. If you don't specify a value, Amazon Textract encrypts the project using an AWS owned key.
- Parameters:
encryptionConfiguration- The AWS KMS encryption configuration used to encrypt the project at rest. If you don't specify a value, Amazon Textract encrypts the project using an AWS owned key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateProjectRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the project at rest. If you don't specify a value, Amazon Textract encrypts the project using an AWS owned key.
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 project.
- Parameters:
tags- A set of tags (key-value pairs) to assign to the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProjectRequest.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
CreateProjectRequest.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.
-