Class CreateZoneLockdownRuleOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.zone_lockdown.v1.model.CreateZoneLockdownRuleOptions.Builder
-
- Enclosing class:
- CreateZoneLockdownRuleOptions
public static class CreateZoneLockdownRuleOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateZoneLockdownRuleOptions.BuilderaddConfigurations(LockdownInputConfigurationsItem configurations)Adds an configurations to configurations.CreateZoneLockdownRuleOptions.BuilderaddUrls(String urls)Adds an urls to urls.CreateZoneLockdownRuleOptionsbuild()Builds a CreateZoneLockdownRuleOptions.CreateZoneLockdownRuleOptions.Builderconfigurations(List<LockdownInputConfigurationsItem> configurations)Set the configurations.CreateZoneLockdownRuleOptions.Builderdescription(String description)Set the description.CreateZoneLockdownRuleOptions.Builderid(String id)Set the id.CreateZoneLockdownRuleOptions.Builderpaused(Boolean paused)Set the paused.CreateZoneLockdownRuleOptions.Builderurls(List<String> urls)Set the urls.
-
-
-
Method Detail
-
build
public CreateZoneLockdownRuleOptions build()
Builds a CreateZoneLockdownRuleOptions.- Returns:
- the new CreateZoneLockdownRuleOptions instance
-
addUrls
public CreateZoneLockdownRuleOptions.Builder addUrls(String urls)
Adds an urls to urls.- Parameters:
urls- the new urls- Returns:
- the CreateZoneLockdownRuleOptions builder
-
addConfigurations
public CreateZoneLockdownRuleOptions.Builder addConfigurations(LockdownInputConfigurationsItem configurations)
Adds an configurations to configurations.- Parameters:
configurations- the new configurations- Returns:
- the CreateZoneLockdownRuleOptions builder
-
id
public CreateZoneLockdownRuleOptions.Builder id(String id)
Set the id.- Parameters:
id- the id- Returns:
- the CreateZoneLockdownRuleOptions builder
-
paused
public CreateZoneLockdownRuleOptions.Builder paused(Boolean paused)
Set the paused.- Parameters:
paused- the paused- Returns:
- the CreateZoneLockdownRuleOptions builder
-
description
public CreateZoneLockdownRuleOptions.Builder description(String description)
Set the description.- Parameters:
description- the description- Returns:
- the CreateZoneLockdownRuleOptions builder
-
urls
public CreateZoneLockdownRuleOptions.Builder urls(List<String> urls)
Set the urls. Existing urls will be replaced.- Parameters:
urls- the urls- Returns:
- the CreateZoneLockdownRuleOptions builder
-
configurations
public CreateZoneLockdownRuleOptions.Builder configurations(List<LockdownInputConfigurationsItem> configurations)
Set the configurations. Existing configurations will be replaced.- Parameters:
configurations- the configurations- Returns:
- the CreateZoneLockdownRuleOptions builder
-
-