public static class SecurityPolicyRule.Builder extends Object
Modifier and Type | Method and Description |
---|---|
SecurityPolicyRule |
build() |
SecurityPolicyRule.Builder |
clone() |
String |
getAction()
The Action to preform when the client connection triggers the rule.
|
String |
getDescription()
An optional description of this resource.
|
String |
getKind()
[Output only] Type of the resource.
|
SecurityPolicyRuleMatcher |
getMatch()
A match condition that incoming traffic is evaluated against.
|
Boolean |
getPreview()
If set to true, the specified action is not enforced.
|
Integer |
getPriority()
An integer indicating the priority of a rule in the list.
|
SecurityPolicyRule.Builder |
mergeFrom(SecurityPolicyRule other) |
SecurityPolicyRule.Builder |
setAction(String action)
The Action to preform when the client connection triggers the rule.
|
SecurityPolicyRule.Builder |
setDescription(String description)
An optional description of this resource.
|
SecurityPolicyRule.Builder |
setKind(String kind)
[Output only] Type of the resource.
|
SecurityPolicyRule.Builder |
setMatch(SecurityPolicyRuleMatcher match)
A match condition that incoming traffic is evaluated against.
|
SecurityPolicyRule.Builder |
setPreview(Boolean preview)
If set to true, the specified action is not enforced.
|
SecurityPolicyRule.Builder |
setPriority(Integer priority)
An integer indicating the priority of a rule in the list.
|
public SecurityPolicyRule.Builder mergeFrom(SecurityPolicyRule other)
public String getAction()
public SecurityPolicyRule.Builder setAction(String action)
public String getDescription()
public SecurityPolicyRule.Builder setDescription(String description)
public String getKind()
public SecurityPolicyRule.Builder setKind(String kind)
public SecurityPolicyRuleMatcher getMatch()
public SecurityPolicyRule.Builder setMatch(SecurityPolicyRuleMatcher match)
public Boolean getPreview()
public SecurityPolicyRule.Builder setPreview(Boolean preview)
public Integer getPriority()
public SecurityPolicyRule.Builder setPriority(Integer priority)
public SecurityPolicyRule build()
public SecurityPolicyRule.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.