public static interface CreateEndpointRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<CreateEndpointRequest.Builder,CreateEndpointRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEndpointRequest.Builder |
clientRequestToken(String clientRequestToken)
An idempotency token provided by the customer.
|
CreateEndpointRequest.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).
|
CreateEndpointRequest.Builder |
desiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint.
|
CreateEndpointRequest.Builder |
endpointName(String endpointName)
This is the descriptive suffix that becomes part of the
EndpointArn used for all subsequent
requests to this resource. |
CreateEndpointRequest.Builder |
flywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
|
CreateEndpointRequest.Builder |
modelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
|
CreateEndpointRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEndpointRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEndpointRequest.Builder |
tags(Collection<Tag> tags)
Tags to associate with the endpoint.
|
CreateEndpointRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Tags to associate with the endpoint.
|
CreateEndpointRequest.Builder |
tags(Tag... tags)
Tags to associate with the endpoint.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEndpointRequest.Builder endpointName(String endpointName)
This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent
requests to this resource.
endpointName - This is the descriptive suffix that becomes part of the EndpointArn used for all
subsequent requests to this resource.CreateEndpointRequest.Builder modelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
modelArn - The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.CreateEndpointRequest.Builder desiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
desiredInferenceUnits - The desired number of inference units to be used by the model using this endpoint. Each inference unit
represents of a throughput of 100 characters per second.CreateEndpointRequest.Builder clientRequestToken(String clientRequestToken)
An idempotency token provided by the customer. If this token matches a previous endpoint creation request,
Amazon Comprehend will not return a ResourceInUseException.
clientRequestToken - An idempotency token provided by the customer. If this token matches a previous endpoint creation
request, Amazon Comprehend will not return a ResourceInUseException.CreateEndpointRequest.Builder tags(Collection<Tag> tags)
Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
tags - Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For
example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales
department.CreateEndpointRequest.Builder tags(Tag... tags)
Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
tags - Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For
example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales
department.CreateEndpointRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateEndpointRequest.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).
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).CreateEndpointRequest.Builder flywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
flywheelArn - The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.CreateEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.