Class CreateRuleResult

    • Constructor Detail

      • CreateRuleResult

        public CreateRuleResult()
    • Method Detail

      • setRule

        public void setRule​(Rule rule)

        The Rule returned in the CreateRule response.

        Parameters:
        rule - The Rule returned in the CreateRule response.
      • getRule

        public Rule getRule()

        The Rule returned in the CreateRule response.

        Returns:
        The Rule returned in the CreateRule response.
      • withRule

        public CreateRuleResult withRule​(Rule rule)

        The Rule returned in the CreateRule response.

        Parameters:
        rule - The Rule returned in the CreateRule response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setChangeToken

        public void setChangeToken​(String changeToken)

        The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

        Parameters:
        changeToken - The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
      • getChangeToken

        public String getChangeToken()

        The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

        Returns:
        The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
      • withChangeToken

        public CreateRuleResult withChangeToken​(String changeToken)

        The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

        Parameters:
        changeToken - The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
        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; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object