Class UpdateZoneEntrypointRulesetOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.rulesets.v1.model.UpdateZoneEntrypointRulesetOptions.Builder
-
- Enclosing class:
- UpdateZoneEntrypointRulesetOptions
public static class UpdateZoneEntrypointRulesetOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateZoneEntrypointRulesetOptions.BuilderaddRules(RuleCreate rules)Adds a new element to rules.UpdateZoneEntrypointRulesetOptionsbuild()Builds a UpdateZoneEntrypointRulesetOptions.UpdateZoneEntrypointRulesetOptions.Builderdescription(String description)Set the description.UpdateZoneEntrypointRulesetOptions.Builderkind(String kind)Set the kind.UpdateZoneEntrypointRulesetOptions.Buildername(String name)Set the name.UpdateZoneEntrypointRulesetOptions.Builderphase(String phase)Set the phase.UpdateZoneEntrypointRulesetOptions.Builderrules(List<RuleCreate> rules)Set the rules.UpdateZoneEntrypointRulesetOptions.BuilderrulesetPhase(String rulesetPhase)Set the rulesetPhase.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String rulesetPhase)
Instantiates a new builder with required properties.- Parameters:
rulesetPhase- the rulesetPhase
-
-
Method Detail
-
build
public UpdateZoneEntrypointRulesetOptions build()
Builds a UpdateZoneEntrypointRulesetOptions.- Returns:
- the new UpdateZoneEntrypointRulesetOptions instance
-
addRules
public UpdateZoneEntrypointRulesetOptions.Builder addRules(RuleCreate rules)
Adds a new element to rules.- Parameters:
rules- the new element to be added- Returns:
- the UpdateZoneEntrypointRulesetOptions builder
-
rulesetPhase
public UpdateZoneEntrypointRulesetOptions.Builder rulesetPhase(String rulesetPhase)
Set the rulesetPhase.- Parameters:
rulesetPhase- the rulesetPhase- Returns:
- the UpdateZoneEntrypointRulesetOptions builder
-
description
public UpdateZoneEntrypointRulesetOptions.Builder description(String description)
Set the description.- Parameters:
description- the description- Returns:
- the UpdateZoneEntrypointRulesetOptions builder
-
kind
public UpdateZoneEntrypointRulesetOptions.Builder kind(String kind)
Set the kind.- Parameters:
kind- the kind- Returns:
- the UpdateZoneEntrypointRulesetOptions builder
-
name
public UpdateZoneEntrypointRulesetOptions.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the UpdateZoneEntrypointRulesetOptions builder
-
phase
public UpdateZoneEntrypointRulesetOptions.Builder phase(String phase)
Set the phase.- Parameters:
phase- the phase- Returns:
- the UpdateZoneEntrypointRulesetOptions builder
-
rules
public UpdateZoneEntrypointRulesetOptions.Builder rules(List<RuleCreate> rules)
Set the rules. Existing rules will be replaced.- Parameters:
rules- the rules- Returns:
- the UpdateZoneEntrypointRulesetOptions builder
-
-