Package org.cdk8s.plus25.k8s
Class ResourcePolicyRuleV1Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.ResourcePolicyRuleV1Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
ResourcePolicyRuleV1Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ResourcePolicyRuleV1Beta1
@Stability(Stable) @Internal public static final class ResourcePolicyRuleV1Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourcePolicyRuleV1Beta1
An implementation forResourcePolicyRuleV1Beta1
-
-
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.ResourcePolicyRuleV1Beta1
ResourcePolicyRuleV1Beta1.Builder, ResourcePolicyRuleV1Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ResourcePolicyRuleV1Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by theResourcePolicyRuleV1Beta1.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()apiGroupsis a list of matching API groups and may not be empty.BooleangetClusterScope()clusterScopeindicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces).List<String>getNamespaces()namespacesis a list of target namespaces that restricts matches.List<String>getResources()resourcesis a list of matching resources (i.e., lowercase and plural) with, if desired, subresource.List<String>getVerbs()verbsis a list of matching verbs and may not be empty.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(ResourcePolicyRuleV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theResourcePolicyRuleV1Beta1.Builder.
-
-
Method Detail
-
getApiGroups
public final List<String> getApiGroups()
Description copied from interface:ResourcePolicyRuleV1Beta1apiGroupsis a list of matching API groups and may not be empty."*" matches all API groups and, if present, must be the only entry. Required.
- Specified by:
getApiGroupsin interfaceResourcePolicyRuleV1Beta1
-
getResources
public final List<String> getResources()
Description copied from interface:ResourcePolicyRuleV1Beta1resourcesis a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ "services", "nodes/status" ]. This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.- Specified by:
getResourcesin interfaceResourcePolicyRuleV1Beta1
-
getVerbs
public final List<String> getVerbs()
Description copied from interface:ResourcePolicyRuleV1Beta1verbsis a list of matching verbs and may not be empty."*" matches all verbs and, if present, must be the only entry. Required.
- Specified by:
getVerbsin interfaceResourcePolicyRuleV1Beta1
-
getClusterScope
public final Boolean getClusterScope()
Description copied from interface:ResourcePolicyRuleV1Beta1clusterScopeindicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces).If this field is omitted or false then the
namespacesfield must contain a non-empty list.- Specified by:
getClusterScopein interfaceResourcePolicyRuleV1Beta1
-
getNamespaces
public final List<String> getNamespaces()
Description copied from interface:ResourcePolicyRuleV1Beta1namespacesis a list of target namespaces that restricts matches.A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "". Note that "" matches any specified namespace but does not match a request that does not specify a namespace (see the
clusterScopefield for that). This list may be empty, but only ifclusterScopeis true.- Specified by:
getNamespacesin interfaceResourcePolicyRuleV1Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-