Class CreateRuleResult

java.lang.Object
com.amazonaws.services.waf.model.CreateRuleResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateRuleResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • CreateRuleResult

      public CreateRuleResult()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateRuleResult clone()
      Overrides:
      clone in class Object