Package org.cdk8s.plus24.k8s
Class PolicyRulesWithSubjectsV1Beta2.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.PolicyRulesWithSubjectsV1Beta2.Jsii$Proxy
-
- All Implemented Interfaces:
PolicyRulesWithSubjectsV1Beta2
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PolicyRulesWithSubjectsV1Beta2
@Stability(Stable) @Internal public static final class PolicyRulesWithSubjectsV1Beta2.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PolicyRulesWithSubjectsV1Beta2
An implementation forPolicyRulesWithSubjectsV1Beta2
-
-
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.PolicyRulesWithSubjectsV1Beta2
PolicyRulesWithSubjectsV1Beta2.Builder, PolicyRulesWithSubjectsV1Beta2.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(PolicyRulesWithSubjectsV1Beta2.Builder builder)
Constructor that initializes the object based on literal property values passed by thePolicyRulesWithSubjectsV1Beta2.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<NonResourcePolicyRuleV1Beta2>
getNonResourceRules()
`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.List<ResourcePolicyRuleV1Beta2>
getResourceRules()
`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource.List<SubjectV1Beta2>
getSubjects()
subjects is the list of normal user, serviceaccount, or group that this rule cares about.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(PolicyRulesWithSubjectsV1Beta2.Builder builder)
Constructor that initializes the object based on literal property values passed by thePolicyRulesWithSubjectsV1Beta2.Builder
.
-
-
Method Detail
-
getSubjects
public final List<SubjectV1Beta2> getSubjects()
Description copied from interface:PolicyRulesWithSubjectsV1Beta2
subjects is the list of normal user, serviceaccount, or group that this rule cares about.There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.
- Specified by:
getSubjects
in interfacePolicyRulesWithSubjectsV1Beta2
-
getNonResourceRules
public final List<NonResourcePolicyRuleV1Beta2> getNonResourceRules()
Description copied from interface:PolicyRulesWithSubjectsV1Beta2
`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.- Specified by:
getNonResourceRules
in interfacePolicyRulesWithSubjectsV1Beta2
-
getResourceRules
public final List<ResourcePolicyRuleV1Beta2> getResourceRules()
Description copied from interface:PolicyRulesWithSubjectsV1Beta2
`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource.At least one of
resourceRules
andnonResourceRules
has to be non-empty.- Specified by:
getResourceRules
in interfacePolicyRulesWithSubjectsV1Beta2
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-