Interface DescribeDocumentClassifierResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComprehendResponse.Builder,CopyableBuilder<DescribeDocumentClassifierResponse.Builder,,DescribeDocumentClassifierResponse> SdkBuilder<DescribeDocumentClassifierResponse.Builder,,DescribeDocumentClassifierResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDocumentClassifierResponse
public static interface DescribeDocumentClassifierResponse.Builder
extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DescribeDocumentClassifierResponse.Builder,DescribeDocumentClassifierResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentClassifierProperties(Consumer<DocumentClassifierProperties.Builder> documentClassifierProperties) An object that contains the properties associated with a document classifier.documentClassifierProperties(DocumentClassifierProperties documentClassifierProperties) An object that contains the properties associated with a document classifier.Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
documentClassifierProperties
DescribeDocumentClassifierResponse.Builder documentClassifierProperties(DocumentClassifierProperties documentClassifierProperties) An object that contains the properties associated with a document classifier.
- Parameters:
documentClassifierProperties- An object that contains the properties associated with a document classifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentClassifierProperties
default DescribeDocumentClassifierResponse.Builder documentClassifierProperties(Consumer<DocumentClassifierProperties.Builder> documentClassifierProperties) An object that contains the properties associated with a document classifier.
This is a convenience method that creates an instance of theDocumentClassifierProperties.Builderavoiding the need to create one manually viaDocumentClassifierProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentClassifierProperties(DocumentClassifierProperties).- Parameters:
documentClassifierProperties- a consumer that will call methods onDocumentClassifierProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-