Package org.cdk8s.plus24.k8s
Class ResourcePolicyRuleV1Beta2.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.ResourcePolicyRuleV1Beta2.Jsii$Proxy
-
- All Implemented Interfaces:
ResourcePolicyRuleV1Beta2
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ResourcePolicyRuleV1Beta2
@Stability(Stable) @Internal public static final class ResourcePolicyRuleV1Beta2.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourcePolicyRuleV1Beta2
An implementation forResourcePolicyRuleV1Beta2
-
-
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.plus24.k8s.ResourcePolicyRuleV1Beta2
ResourcePolicyRuleV1Beta2.Builder, ResourcePolicyRuleV1Beta2.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(ResourcePolicyRuleV1Beta2.Builder builder)
Constructor that initializes the object based on literal property values passed by theResourcePolicyRuleV1Beta2.Builder
.protected
Jsii$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()
boolean
equals(Object o)
List<String>
getApiGroups()
`apiGroups` is a list of matching API groups and may not be empty.Boolean
getClusterScope()
`clusterScope` indicates 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()
`namespaces` is a list of target namespaces that restricts matches.List<String>
getResources()
`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource.List<String>
getVerbs()
`verbs` is a list of matching verbs and may not be empty.int
hashCode()
-
-
-
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(ResourcePolicyRuleV1Beta2.Builder builder)
Constructor that initializes the object based on literal property values passed by theResourcePolicyRuleV1Beta2.Builder
.
-
-
Method Detail
-
getApiGroups
public final List<String> getApiGroups()
Description copied from interface:ResourcePolicyRuleV1Beta2
`apiGroups` is 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:
getApiGroups
in interfaceResourcePolicyRuleV1Beta2
-
getResources
public final List<String> getResources()
Description copied from interface:ResourcePolicyRuleV1Beta2
`resources` is 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:
getResources
in interfaceResourcePolicyRuleV1Beta2
-
getVerbs
public final List<String> getVerbs()
Description copied from interface:ResourcePolicyRuleV1Beta2
`verbs` is a list of matching verbs and may not be empty."*" matches all verbs and, if present, must be the only entry. Required.
- Specified by:
getVerbs
in interfaceResourcePolicyRuleV1Beta2
-
getClusterScope
public final Boolean getClusterScope()
Description copied from interface:ResourcePolicyRuleV1Beta2
`clusterScope` indicates 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
namespaces
field must contain a non-empty list.- Specified by:
getClusterScope
in interfaceResourcePolicyRuleV1Beta2
-
getNamespaces
public final List<String> getNamespaces()
Description copied from interface:ResourcePolicyRuleV1Beta2
`namespaces` is 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
clusterScope
field for that). This list may be empty, but only ifclusterScope
is true.- Specified by:
getNamespaces
in interfaceResourcePolicyRuleV1Beta2
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-