public static final class ALBNetworkSecurityRule.Builder
extends java.lang.Object
ALBNetworkSecurityRule.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBNetworkSecurityRule. |
| Modifier and Type | Method and Description |
|---|---|
ALBNetworkSecurityRule |
build() |
ALBNetworkSecurityRule.Builder |
setAction(java.lang.String action)
Possible values are:
ALBNetworkSecurityRule.ACTION_ALLOW
ALBNetworkSecurityRule.ACTION_DENY
ALBNetworkSecurityRule.ACTION_RATE_LIMIT
Enum options - NETWORK_SECURITY_POLICY_ACTION_TYPE_ALLOW,
NETWORK_SECURITY_POLICY_ACTION_TYPE_DENY,
NETWORK_SECURITY_POLICY_ACTION_TYPE_RATE_LIMIT. |
ALBNetworkSecurityRule.Builder |
setAge(java.lang.Long age)
Time in minutes after which rule will be deleted.
|
ALBNetworkSecurityRule.Builder |
setCreatedBy(java.lang.String createdBy)
Creator name.
|
ALBNetworkSecurityRule.Builder |
setEnable(java.lang.Boolean enable)
Placeholder for description of property enable of obj type NetworkSecurityRule
field type str type boolean.
|
ALBNetworkSecurityRule.Builder |
setIndex(java.lang.Long index)
Number of index.
|
ALBNetworkSecurityRule.Builder |
setLog(java.lang.Boolean log)
Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values-
false) edition, Enterprise edition.
|
ALBNetworkSecurityRule.Builder |
setMatch(ALBNetworkSecurityMatchTarget match) |
ALBNetworkSecurityRule.Builder |
setName(java.lang.String name)
Name of the object.
|
ALBNetworkSecurityRule.Builder |
setRlParam(ALBNetworkSecurityPolicyActionRLParam rlParam) |
public Builder()
ALBNetworkSecurityRule.public ALBNetworkSecurityRule.Builder setAction(java.lang.String action)
action - New value for the property.public ALBNetworkSecurityRule.Builder setAge(java.lang.Long age)
age - New value for the property.public ALBNetworkSecurityRule.Builder setCreatedBy(java.lang.String createdBy)
createdBy - New value for the property.public ALBNetworkSecurityRule.Builder setEnable(java.lang.Boolean enable)
enable - New value for the property.public ALBNetworkSecurityRule.Builder setIndex(java.lang.Long index)
index - New value for the property.public ALBNetworkSecurityRule.Builder setLog(java.lang.Boolean log)
log - New value for the property.public ALBNetworkSecurityRule.Builder setMatch(ALBNetworkSecurityMatchTarget match)
match - New value for the property.public ALBNetworkSecurityRule.Builder setName(java.lang.String name)
name - New value for the property.public ALBNetworkSecurityRule.Builder setRlParam(ALBNetworkSecurityPolicyActionRLParam rlParam)
rlParam - New value for the property.public ALBNetworkSecurityRule build()