public static final class LbAccessListControl.Builder
extends java.lang.Object
LbAccessListControl
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LbAccessListControl . |
Modifier and Type | Method and Description |
---|---|
LbAccessListControl |
build() |
LbAccessListControl.Builder |
setAction(java.lang.String action)
Possible values are:
LbAccessListControl.ACTION_ALLOW LbAccessListControl.ACTION_DROP ALLOW means
connections matching grouping object IP list are allowed and requests not
matching grouping object IP list are dropped. |
LbAccessListControl.Builder |
setEnabled(java.lang.Boolean enabled)
The enabled flag indicates whether to enable access list control option.
|
LbAccessListControl.Builder |
setGroupId(java.lang.String groupId)
The identifier of grouping object which defines the IP addresses or ranges to
match the client IP.
|
public Builder()
LbAccessListControl
.public LbAccessListControl.Builder setAction(java.lang.String action)
action
- New value for the property.public LbAccessListControl.Builder setEnabled(java.lang.Boolean enabled)
enabled
- New value for the property.public LbAccessListControl.Builder setGroupId(java.lang.String groupId)
groupId
- New value for the property.public LbAccessListControl build()