Package org.cdk8s.plus25.k8s
Class PolicyRulesWithSubjectsV1Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.PolicyRulesWithSubjectsV1Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
PolicyRulesWithSubjectsV1Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PolicyRulesWithSubjectsV1Beta1
@Stability(Stable) @Internal public static final class PolicyRulesWithSubjectsV1Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PolicyRulesWithSubjectsV1Beta1
An implementation forPolicyRulesWithSubjectsV1Beta1
-
-
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.PolicyRulesWithSubjectsV1Beta1
PolicyRulesWithSubjectsV1Beta1.Builder, PolicyRulesWithSubjectsV1Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PolicyRulesWithSubjectsV1Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by thePolicyRulesWithSubjectsV1Beta1.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<NonResourcePolicyRuleV1Beta1>getNonResourceRules()nonResourceRulesis a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.List<ResourcePolicyRuleV1Beta1>getResourceRules()resourceRulesis a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource.List<SubjectV1Beta1>getSubjects()subjects is the list of normal user, serviceaccount, or group that this rule cares about.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(PolicyRulesWithSubjectsV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by thePolicyRulesWithSubjectsV1Beta1.Builder.
-
-
Method Detail
-
getSubjects
public final List<SubjectV1Beta1> getSubjects()
Description copied from interface:PolicyRulesWithSubjectsV1Beta1subjects 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:
getSubjectsin interfacePolicyRulesWithSubjectsV1Beta1
-
getNonResourceRules
public final List<NonResourcePolicyRuleV1Beta1> getNonResourceRules()
Description copied from interface:PolicyRulesWithSubjectsV1Beta1nonResourceRulesis a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.- Specified by:
getNonResourceRulesin interfacePolicyRulesWithSubjectsV1Beta1
-
getResourceRules
public final List<ResourcePolicyRuleV1Beta1> getResourceRules()
Description copied from interface:PolicyRulesWithSubjectsV1Beta1resourceRulesis a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource.At least one of
resourceRulesandnonResourceRuleshas to be non-empty.- Specified by:
getResourceRulesin interfacePolicyRulesWithSubjectsV1Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-