JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.comprehend.model

Class CreateEndpointRequest

    • Constructor Detail

      • CreateEndpointRequest

        public CreateEndpointRequest()
    • Method Detail

      • setEndpointName

        public void setEndpointName(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.
      • getEndpointName

        public String getEndpointName()

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

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

        public CreateEndpointRequest withEndpointName(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.
      • setModelArn

        public void setModelArn(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.
      • getModelArn

        public String getModelArn()

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

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

        public CreateEndpointRequest withModelArn(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.
      • setDesiredInferenceUnits

        public void setDesiredInferenceUnits(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.
      • getDesiredInferenceUnits

        public Integer getDesiredInferenceUnits()

        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:
        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.
      • withDesiredInferenceUnits

        public CreateEndpointRequest withDesiredInferenceUnits(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.
      • setClientRequestToken

        public void setClientRequestToken(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.
      • getClientRequestToken

        public String getClientRequestToken()

        An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a ResourceInUseException.

        Returns:
        An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a ResourceInUseException.
      • withClientRequestToken

        public CreateEndpointRequest withClientRequestToken(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.
      • getTags

        public List<Tag> getTags()

        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:
        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.
      • setTags

        public void setTags(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.
      • withTags

        public CreateEndpointRequest withTags(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.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        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.
      • withTags

        public CreateEndpointRequest withTags(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.
      • setDataAccessRoleArn

        public void setDataAccessRoleArn(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).
      • getDataAccessRoleArn

        public String getDataAccessRoleArn()

        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:
        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).
      • withDataAccessRoleArn

        public CreateEndpointRequest withDataAccessRoleArn(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.
      • setFlywheelArn

        public void setFlywheelArn(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.
      • getFlywheelArn

        public String getFlywheelArn()

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

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

        public CreateEndpointRequest withFlywheelArn(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /