Package org.cdk8s.plus28.k8s
Class NonResourcePolicyRuleV1Beta3.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.NonResourcePolicyRuleV1Beta3.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NonResourcePolicyRuleV1Beta3>
- Enclosing interface:
- NonResourcePolicyRuleV1Beta3
@Stability(Stable) public static final class NonResourcePolicyRuleV1Beta3.Builder extends Object implements software.amazon.jsii.Builder<NonResourcePolicyRuleV1Beta3>
A builder forNonResourcePolicyRuleV1Beta3
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NonResourcePolicyRuleV1Beta3build()Builds the configured instance.NonResourcePolicyRuleV1Beta3.BuildernonResourceUrLs(List<String> nonResourceUrLs)Sets the value ofNonResourcePolicyRuleV1Beta3.getNonResourceUrLs()NonResourcePolicyRuleV1Beta3.Builderverbs(List<String> verbs)Sets the value ofNonResourcePolicyRuleV1Beta3.getVerbs()
-
-
-
Method Detail
-
nonResourceUrLs
@Stability(Stable) public NonResourcePolicyRuleV1Beta3.Builder nonResourceUrLs(List<String> nonResourceUrLs)
Sets the value ofNonResourcePolicyRuleV1Beta3.getNonResourceUrLs()- Parameters:
nonResourceUrLs-nonResourceURLsis a set of url prefixes that a user should have access to and may not be empty. This parameter is required. For example:- "/healthz" is legal
- "/hea*" is illegal
- "/hea" is legal but matches nothing
- "/hea/*" also matches nothing
- "/healthz/" matches all per-component health checks. "" matches all non-resource urls. if it is present, it must be the only entry. Required.
- Returns:
this
-
verbs
@Stability(Stable) public NonResourcePolicyRuleV1Beta3.Builder verbs(List<String> verbs)
Sets the value ofNonResourcePolicyRuleV1Beta3.getVerbs()- Parameters:
verbs-verbsis a list of matching verbs and may not be empty. This parameter is required. "*" matches all verbs. If it is present, it must be the only entry. Required.- Returns:
this
-
build
@Stability(Stable) public NonResourcePolicyRuleV1Beta3 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NonResourcePolicyRuleV1Beta3>- Returns:
- a new instance of
NonResourcePolicyRuleV1Beta3 - Throws:
NullPointerException- if any required attribute was not provided
-
-