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.datazone.model

Class RejectRule

    • Constructor Detail

      • RejectRule

        public RejectRule()
    • Method Detail

      • setRule

        public void setRule(String rule)

        Specifies whether you want to reject the top prediction for all targets or none.

        Parameters:
        rule - Specifies whether you want to reject the top prediction for all targets or none.
        See Also:
        RejectRuleBehavior
      • getRule

        public String getRule()

        Specifies whether you want to reject the top prediction for all targets or none.

        Returns:
        Specifies whether you want to reject the top prediction for all targets or none.
        See Also:
        RejectRuleBehavior
      • withRule

        public RejectRule withRule(String rule)

        Specifies whether you want to reject the top prediction for all targets or none.

        Parameters:
        rule - Specifies whether you want to reject the top prediction for all targets or none.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RejectRuleBehavior
      • withRule

        public RejectRule withRule(RejectRuleBehavior rule)

        Specifies whether you want to reject the top prediction for all targets or none.

        Parameters:
        rule - Specifies whether you want to reject the top prediction for all targets or none.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RejectRuleBehavior
      • setThreshold

        public void setThreshold(Float threshold)

        The confidence score that specifies the condition at which a prediction can be rejected.

        Parameters:
        threshold - The confidence score that specifies the condition at which a prediction can be rejected.
      • getThreshold

        public Float getThreshold()

        The confidence score that specifies the condition at which a prediction can be rejected.

        Returns:
        The confidence score that specifies the condition at which a prediction can be rejected.
      • withThreshold

        public RejectRule withThreshold(Float threshold)

        The confidence score that specifies the condition at which a prediction can be rejected.

        Parameters:
        threshold - The confidence score that specifies the condition at which a prediction can be rejected.
        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 によって変換されたページ (->オリジナル) /