コード例 #1
0
 /**
  * Whether to allow or deny traffic that matches the rule.
  *
  * <p>Returns a reference to this object so that method calls can be chained together.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>allow, deny
  *
  * @param ruleAction Whether to allow or deny traffic that matches the rule.
  * @return A reference to this updated object so that method calls can be chained together.
  * @see RuleAction
  */
 public ReplaceNetworkAclEntryRequest withRuleAction(RuleAction ruleAction) {
   this.ruleAction = ruleAction.toString();
   return this;
 }
コード例 #2
0
 /**
  * Whether to allow or deny traffic that matches the rule.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>allow, deny
  *
  * @param ruleAction Whether to allow or deny traffic that matches the rule.
  * @see RuleAction
  */
 public void setRuleAction(RuleAction ruleAction) {
   this.ruleAction = ruleAction.toString();
 }