Interface CreateEndpointRequest.Builder

    • Method Detail

      • 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

        CreateEndpointRequest.Builder modelArn​(String 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

        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.

        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

        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.

        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

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

        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:
        #tags(java.util.Collection)
      • 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.