Interface CreateEndpointRequest.Builder

  • Method Details

    • endpointName

      CreateEndpointRequest.Builder endpointName(String endpointName)

      This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests to this resource.

      Parameters:
      endpointName - This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests to this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelArn

      The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.

      Parameters:
      modelArn - The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • desiredInferenceUnits

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      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.

      Parameters:
      clientRequestToken - An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a ResourceInUseException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the Tag.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<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataAccessRoleArn

      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).

      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).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flywheelArn

      CreateEndpointRequest.Builder flywheelArn(String flywheelArn)

      The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.

      Parameters:
      flywheelArn - The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.