Class UpdateLockdownRuleOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.zone_lockdown.v1.model.UpdateLockdownRuleOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateLockdownRuleOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateLockdownRule options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateLockdownRuleOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LockdownInputConfigurationsItem>
configurations()
Gets the configurations.String
description()
Gets the description.String
id()
Gets the id.String
lockdownRuleIdentifier()
Gets the lockdownRuleIdentifier.UpdateLockdownRuleOptions.Builder
newBuilder()
New builder.Boolean
paused()
Gets the paused.List<String>
urls()
Gets the urls.
-
-
-
Method Detail
-
newBuilder
public UpdateLockdownRuleOptions.Builder newBuilder()
New builder.- Returns:
- a UpdateLockdownRuleOptions builder
-
lockdownRuleIdentifier
public String lockdownRuleIdentifier()
Gets the lockdownRuleIdentifier. Identifier of lockdown rule.- Returns:
- the lockdownRuleIdentifier
-
id
public String id()
Gets the id. Lockdown rule identifier.- Returns:
- the id
-
paused
public Boolean paused()
Gets the paused. Whether this zone lockdown is currently paused.- Returns:
- the paused
-
description
public String description()
Gets the description. A note that you can use to describe the reason for a Lockdown rule.- Returns:
- the description
-
urls
public List<String> urls()
Gets the urls. URLs to be included in this rule definition. Wildcards are permitted. The URL pattern entered here will be escaped before use. This limits the URL to just simple wildcard patterns.- Returns:
- the urls
-
configurations
public List<LockdownInputConfigurationsItem> configurations()
Gets the configurations. List of IP addresses or CIDR ranges to use for this rule. This can include any number of ip or ip_range configurations that can access the provided URLs.- Returns:
- the configurations
-
-