Class CreateZoneLockdownRuleOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.zone_lockdown.v1.model.CreateZoneLockdownRuleOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateZoneLockdownRuleOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createZoneLockdownRule options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateZoneLockdownRuleOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LockdownInputConfigurationsItem>configurations()Gets the configurations.Stringdescription()Gets the description.Stringid()Gets the id.CreateZoneLockdownRuleOptions.BuildernewBuilder()New builder.Booleanpaused()Gets the paused.List<String>urls()Gets the urls.
-
-
-
Method Detail
-
newBuilder
public CreateZoneLockdownRuleOptions.Builder newBuilder()
New builder.- Returns:
- a CreateZoneLockdownRuleOptions builder
-
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
-
-