Class CfnDocumentClassifierEndpointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnDocumentClassifierEndpointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentClassifierEndpointMixinProps>
- Enclosing interface:
CfnDocumentClassifierEndpointMixinProps
@Stability(Stable)
public static final class CfnDocumentClassifierEndpointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentClassifierEndpointMixinProps>
A builder for
CfnDocumentClassifierEndpointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.desiredInferenceUnits(Number desiredInferenceUnits) Sets the value ofCfnDocumentClassifierEndpointMixinProps.getDesiredInferenceUnits()endpointName(String endpointName) Sets the value ofCfnDocumentClassifierEndpointMixinProps.getEndpointName()Sets the value ofCfnDocumentClassifierEndpointMixinProps.getModelArn()Sets the value ofCfnDocumentClassifierEndpointMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
desiredInferenceUnits
@Stability(Stable) public CfnDocumentClassifierEndpointMixinProps.Builder desiredInferenceUnits(Number desiredInferenceUnits) Sets the value ofCfnDocumentClassifierEndpointMixinProps.getDesiredInferenceUnits()- Parameters:
desiredInferenceUnits- The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.- Returns:
this
-
endpointName
@Stability(Stable) public CfnDocumentClassifierEndpointMixinProps.Builder endpointName(String endpointName) Sets the value ofCfnDocumentClassifierEndpointMixinProps.getEndpointName()- Parameters:
endpointName- The name of the endpoint. The name must be unique within the AWS Region and account.- Returns:
this
-
modelArn
Sets the value ofCfnDocumentClassifierEndpointMixinProps.getModelArn()- Parameters:
modelArn- The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.- Returns:
this
-
tags
@Stability(Stable) public CfnDocumentClassifierEndpointMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDocumentClassifierEndpointMixinProps.getTags()- Parameters:
tags- Tags associated with the endpoint being created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDocumentClassifierEndpointMixinProps>- Returns:
- a new instance of
CfnDocumentClassifierEndpointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-