Interface DescribeDocumentClassificationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ComprehendResponse.Builder
,CopyableBuilder<DescribeDocumentClassificationJobResponse.Builder,
,DescribeDocumentClassificationJobResponse> SdkBuilder<DescribeDocumentClassificationJobResponse.Builder,
,DescribeDocumentClassificationJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDocumentClassificationJobResponse
public static interface DescribeDocumentClassificationJobResponse.Builder
extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DescribeDocumentClassificationJobResponse.Builder,DescribeDocumentClassificationJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentClassificationJobProperties
(Consumer<DocumentClassificationJobProperties.Builder> documentClassificationJobProperties) An object that describes the properties associated with the document classification job.documentClassificationJobProperties
(DocumentClassificationJobProperties documentClassificationJobProperties) An object that describes the properties associated with the document classification job.Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendResponse.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 Details
-
documentClassificationJobProperties
DescribeDocumentClassificationJobResponse.Builder documentClassificationJobProperties(DocumentClassificationJobProperties documentClassificationJobProperties) An object that describes the properties associated with the document classification job.
- Parameters:
documentClassificationJobProperties
- An object that describes the properties associated with the document classification job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentClassificationJobProperties
default DescribeDocumentClassificationJobResponse.Builder documentClassificationJobProperties(Consumer<DocumentClassificationJobProperties.Builder> documentClassificationJobProperties) An object that describes the properties associated with the document classification job.
This is a convenience method that creates an instance of theDocumentClassificationJobProperties.Builder
avoiding the need to create one manually viaDocumentClassificationJobProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentClassificationJobProperties(DocumentClassificationJobProperties)
.- Parameters:
documentClassificationJobProperties
- a consumer that will call methods onDocumentClassificationJobProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-