Class CfnEntityRecognizerEndpointPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnEntityRecognizerEndpointPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityRecognizerEndpointPropsMixin>
- Enclosing class:
CfnEntityRecognizerEndpointPropsMixin
@Stability(Stable)
public static final class CfnEntityRecognizerEndpointPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityRecognizerEndpointPropsMixin>
A fluent builder for
CfnEntityRecognizerEndpointPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) dataAccessRoleArn(String dataAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).desiredInferenceUnits(Number desiredInferenceUnits) The desired number of inference units to be used by the model.endpointName(String endpointName) The name of the endpoint.flywheelArn(String flywheelArn) The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached.The Amazon Resource Name (ARN) of the entity recognizer model to which the endpoint is attached.Tags associated with the endpoint being created.
-
Method Details
-
create
@Stability(Stable) public static CfnEntityRecognizerEndpointPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEntityRecognizerEndpointPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEntityRecognizerEndpointPropsMixin.Builder.
-
dataAccessRoleArn
@Stability(Stable) public CfnEntityRecognizerEndpointPropsMixin.Builder dataAccessRoleArn(String dataAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).- Parameters:
dataAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId). This parameter is required.- Returns:
this- See Also:
-
desiredInferenceUnits
@Stability(Stable) public CfnEntityRecognizerEndpointPropsMixin.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 CfnEntityRecognizerEndpointPropsMixin.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:
-
flywheelArn
@Stability(Stable) public CfnEntityRecognizerEndpointPropsMixin.Builder flywheelArn(String flywheelArn) The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached.- Parameters:
flywheelArn- The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached. This parameter is required.- Returns:
this- See Also:
-
modelArn
The Amazon Resource Name (ARN) of the entity recognizer model to which the endpoint is attached.- Parameters:
modelArn- The Amazon Resource Name (ARN) of the entity recognizer model to which the endpoint is attached. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnEntityRecognizerEndpointPropsMixin.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<CfnEntityRecognizerEndpointPropsMixin>- Returns:
- a newly built instance of
CfnEntityRecognizerEndpointPropsMixin.
-