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 SummaryConstructors Constructor Description Builder()Instantiates a new builder.
 - 
Method SummaryAll 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- 
buildpublic CreateZoneLockdownRuleOptions build() Builds a CreateZoneLockdownRuleOptions.- Returns:
- the new CreateZoneLockdownRuleOptions instance
 
 - 
addUrlspublic CreateZoneLockdownRuleOptions.Builder addUrls(String urls) Adds an urls to urls.- Parameters:
- urls- the new urls
- Returns:
- the CreateZoneLockdownRuleOptions builder
 
 - 
addConfigurationspublic CreateZoneLockdownRuleOptions.Builder addConfigurations(LockdownInputConfigurationsItem configurations) Adds an configurations to configurations.- Parameters:
- configurations- the new configurations
- Returns:
- the CreateZoneLockdownRuleOptions builder
 
 - 
idpublic CreateZoneLockdownRuleOptions.Builder id(String id) Set the id.- Parameters:
- id- the id
- Returns:
- the CreateZoneLockdownRuleOptions builder
 
 - 
pausedpublic CreateZoneLockdownRuleOptions.Builder paused(Boolean paused) Set the paused.- Parameters:
- paused- the paused
- Returns:
- the CreateZoneLockdownRuleOptions builder
 
 - 
descriptionpublic CreateZoneLockdownRuleOptions.Builder description(String description) Set the description.- Parameters:
- description- the description
- Returns:
- the CreateZoneLockdownRuleOptions builder
 
 - 
urlspublic CreateZoneLockdownRuleOptions.Builder urls(List<String> urls) Set the urls. Existing urls will be replaced.- Parameters:
- urls- the urls
- Returns:
- the CreateZoneLockdownRuleOptions builder
 
 - 
configurationspublic CreateZoneLockdownRuleOptions.Builder configurations(List<LockdownInputConfigurationsItem> configurations) Set the configurations. Existing configurations will be replaced.- Parameters:
- configurations- the configurations
- Returns:
- the CreateZoneLockdownRuleOptions builder
 
 
- 
 
-