Class CfnDocumentClassifierEndpointPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnDocumentClassifierEndpointPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentClassifierEndpointPropsMixin>
- Enclosing class:
CfnDocumentClassifierEndpointPropsMixin
@Stability(Stable)
public static final class CfnDocumentClassifierEndpointPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentClassifierEndpointPropsMixin>
A fluent builder for
CfnDocumentClassifierEndpointPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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 CfnDocumentClassifierEndpointPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDocumentClassifierEndpointPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDocumentClassifierEndpointPropsMixin.Builder.
-
desiredInferenceUnits
@Stability(Stable) public CfnDocumentClassifierEndpointPropsMixin.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
@Stability(Stable) public CfnDocumentClassifierEndpointPropsMixin.Builder endpointName(String 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
@Stability(Stable) public CfnDocumentClassifierEndpointPropsMixin.Builder tags(List<? extends CfnTag> 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<CfnDocumentClassifierEndpointPropsMixin>- Returns:
- a newly built instance of
CfnDocumentClassifierEndpointPropsMixin.
-