Class CfnDocumentClassifierEndpoint.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnDocumentClassifierEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentClassifierEndpoint>
- Enclosing class:
CfnDocumentClassifierEndpoint
@Stability(Stable)
public static final class CfnDocumentClassifierEndpoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentClassifierEndpoint>
A fluent builder for
CfnDocumentClassifierEndpoint.-
Method Summary
Modifier and TypeMethodDescriptionbuild()desiredInferenceUnits(Number desiredInferenceUnits) The desired number of inference units to be used by the model.endpointName(String endpointName) The name of the endpoint.The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.Tags associated with the endpoint being created.
-
Method Details
-
create
@Stability(Stable) public static CfnDocumentClassifierEndpoint.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDocumentClassifierEndpoint.Builder.
-
desiredInferenceUnits
@Stability(Stable) public CfnDocumentClassifierEndpoint.Builder desiredInferenceUnits(Number desiredInferenceUnits) The desired number of inference units to be used by the model.Each inference unit represents throughput of 100 characters per second.
- Parameters:
desiredInferenceUnits- The desired number of inference units to be used by the model. This parameter is required.- Returns:
this- See Also:
-
endpointName
The name of the endpoint.The name must be unique within the AWS Region and account.
- Parameters:
endpointName- The name of the endpoint. This parameter is required.- Returns:
this- See Also:
-
modelArn
The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.- Parameters:
modelArn- The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached. This parameter is required.- Returns:
this- See Also:
-
tags
Tags associated with the endpoint being created.- Parameters:
tags- Tags associated with the endpoint being created. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDocumentClassifierEndpoint>- Returns:
- a newly built instance of
CfnDocumentClassifierEndpoint.
-