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