Interface UpdateProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProjectRequest.Builder,,UpdateProjectRequest> SdkBuilder<UpdateProjectRequest.Builder,,UpdateProjectRequest> SdkPojo,SdkRequest.Builder,TextractRequest.Builder
- Enclosing class:
UpdateProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateProjectRequest.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 UpdateProjectRequest.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 UpdateProjectRequest.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 UpdateProjectRequest.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.projectArn(String projectArn) The Amazon Resource Name (ARN) of the project to update.projectDescription(String projectDescription) The updated description of the project.default UpdateProjectRequest.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 UpdateProjectRequest.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.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
-
projectArn
The Amazon Resource Name (ARN) of the project to update.
- Parameters:
projectArn- The Amazon Resource Name (ARN) of the project to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectDescription
The updated description of the project.
- Parameters:
projectDescription- The updated description of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractionConfiguration
UpdateProjectRequest.Builder extractionConfiguration(ExtractionConfiguration extractionConfiguration) The configuration that controls how Amazon Textract extracts content from the document, including bounding boxes, granularity, and output format. Replaces the stored extraction configuration.
- Parameters:
extractionConfiguration- The configuration that controls how Amazon Textract extracts content from the document, including bounding boxes, granularity, and output format. Replaces the stored extraction configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractionConfiguration
default UpdateProjectRequest.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. Replaces the stored extraction configuration.
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
UpdateProjectRequest.Builder generativeConfiguration(GenerativeConfiguration generativeConfiguration) The configuration that controls generative capabilities such as summarization and figure captioning. Replaces the stored generative configuration, so a capability that you omit is turned off.
- Parameters:
generativeConfiguration- The configuration that controls generative capabilities such as summarization and figure captioning. Replaces the stored generative configuration, so a capability that you omit is turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeConfiguration
default UpdateProjectRequest.Builder generativeConfiguration(Consumer<GenerativeConfiguration.Builder> generativeConfiguration) The configuration that controls generative capabilities such as summarization and figure captioning. Replaces the stored generative configuration, so a capability that you omit is turned off.
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. Replaces the stored custom configuration. To disable custom configuration, specify an empty
Blueprintslist.- Parameters:
customConfiguration- The configuration that associates blueprints with the project for custom output extraction. Replaces the stored custom configuration. To disable custom configuration, specify an emptyBlueprintslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customConfiguration
default UpdateProjectRequest.Builder customConfiguration(Consumer<CustomConfiguration.Builder> customConfiguration) The configuration that associates blueprints with the project for custom output extraction. Replaces the stored custom configuration. To disable custom configuration, specify an empty
This is a convenience method that creates an instance of theBlueprintslist.CustomConfiguration.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. Replaces the stored splitter configuration.
- Parameters:
splitterConfiguration- The configuration that controls whether multi-document packets are split into individual documents. Replaces the stored splitter configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitterConfiguration
default UpdateProjectRequest.Builder splitterConfiguration(Consumer<SplitterConfiguration.Builder> splitterConfiguration) The configuration that controls whether multi-document packets are split into individual documents. Replaces the stored splitter configuration.
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
UpdateProjectRequest.Builder sensitiveDataConfiguration(SensitiveDataConfiguration sensitiveDataConfiguration) The configuration that controls detection and redaction of sensitive data, such as personally identifiable information (PII). Replaces the stored sensitive data configuration. To turn off detection, set
DetectionModetoDISABLED.- Parameters:
sensitiveDataConfiguration- The configuration that controls detection and redaction of sensitive data, such as personally identifiable information (PII). Replaces the stored sensitive data configuration. To turn off detection, setDetectionModetoDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitiveDataConfiguration
default UpdateProjectRequest.Builder sensitiveDataConfiguration(Consumer<SensitiveDataConfiguration.Builder> sensitiveDataConfiguration) The configuration that controls detection and redaction of sensitive data, such as personally identifiable information (PII). Replaces the stored sensitive data configuration. To turn off detection, set
This is a convenience method that creates an instance of theDetectionModetoDISABLED.SensitiveDataConfiguration.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
UpdateProjectRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the project at rest.
- Parameters:
encryptionConfiguration- The AWS KMS encryption configuration used to encrypt the project at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default UpdateProjectRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The AWS KMS encryption configuration used to encrypt the project 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:
-
overrideConfiguration
UpdateProjectRequest.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
UpdateProjectRequest.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.
-