Package org.cdk8s.plus25.k8s
Class PolicyRule.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.PolicyRule.Jsii$Proxy
-
- All Implemented Interfaces:
PolicyRule,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PolicyRule
@Stability(Stable) @Internal public static final class PolicyRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PolicyRule
An implementation forPolicyRule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.PolicyRule
PolicyRule.Builder, PolicyRule.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PolicyRule.Builder builder)Constructor that initializes the object based on literal property values passed by thePolicyRule.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)List<String>getApiGroups()APIGroups is the name of the APIGroup that contains the resources.List<String>getNonResourceUrLs()NonResourceURLs is a set of partial urls that a user should have access to.List<String>getResourceNames()ResourceNames is an optional white list of names that the rule applies to.List<String>getResources()Resources is a list of resources this rule applies to.List<String>getVerbs()Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(PolicyRule.Builder builder)
Constructor that initializes the object based on literal property values passed by thePolicyRule.Builder.
-
-
Method Detail
-
getVerbs
public final List<String> getVerbs()
Description copied from interface:PolicyRuleVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.'*' represents all verbs.
- Specified by:
getVerbsin interfacePolicyRule
-
getApiGroups
public final List<String> getApiGroups()
Description copied from interface:PolicyRuleAPIGroups is the name of the APIGroup that contains the resources.If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
- Specified by:
getApiGroupsin interfacePolicyRule
-
getNonResourceUrLs
public final List<String> getNonResourceUrLs()
Description copied from interface:PolicyRuleNonResourceURLs is a set of partial urls that a user should have access to.*s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
- Specified by:
getNonResourceUrLsin interfacePolicyRule
-
getResourceNames
public final List<String> getResourceNames()
Description copied from interface:PolicyRuleResourceNames is an optional white list of names that the rule applies to.An empty set means that everything is allowed.
- Specified by:
getResourceNamesin interfacePolicyRule
-
getResources
public final List<String> getResources()
Description copied from interface:PolicyRuleResources is a list of resources this rule applies to.'*' represents all resources.
- Specified by:
getResourcesin interfacePolicyRule
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-