Class ParamRefV1Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus28.k8s.ParamRefV1Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
ParamRefV1Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ParamRefV1Beta1
@Stability(Stable) @Internal public static final class ParamRefV1Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ParamRefV1Beta1
An implementation forParamRefV1Beta1
-
-
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.plus28.k8s.ParamRefV1Beta1
ParamRefV1Beta1.Builder, ParamRefV1Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ParamRefV1Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by theParamRefV1Beta1.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)StringgetName()name is the name of the resource being referenced.StringgetNamespace()namespace is the namespace of the referenced resource.StringgetParameterNotFoundAction()parameterNotFoundActioncontrols the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding.LabelSelectorgetSelector()selector can be used to match multiple param objects based on their labels.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(ParamRefV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theParamRefV1Beta1.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ParamRefV1Beta1name is the name of the resource being referenced.One of
nameorselectormust be set, butnameandselectorare mutually exclusive properties. If one is set, the other must be unset.A single parameter used for all admission requests can be configured by setting the
namefield, leavingselectorblank, and setting namespace ifparamKindis namespace-scoped.- Specified by:
getNamein interfaceParamRefV1Beta1
-
getNamespace
public final String getNamespace()
Description copied from interface:ParamRefV1Beta1namespace is the namespace of the referenced resource.Allows limiting the search for params to a specific namespace. Applies to both
nameandselectorfields.A per-namespace parameter may be used by specifying a namespace-scoped
paramKindin the policy and leaving this field empty.- If
paramKindis cluster-scoped, this field MUST be unset. Setting this field results in a configuration error. - If
paramKindis namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
- Specified by:
getNamespacein interfaceParamRefV1Beta1
- If
-
getParameterNotFoundAction
public final String getParameterNotFoundAction()
Description copied from interface:ParamRefV1Beta1parameterNotFoundActioncontrols the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding.If the value is set to
Allow, then no matched parameters will be treated as successful validation by the binding. If set toDeny, then no matched parameters will be subject to thefailurePolicyof the policy.Allowed values are
AlloworDenyRequired
- Specified by:
getParameterNotFoundActionin interfaceParamRefV1Beta1
-
getSelector
public final LabelSelector getSelector()
Description copied from interface:ParamRefV1Beta1selector can be used to match multiple param objects based on their labels.Supply selector: {} to match all resources of the ParamKind.
If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.
One of
nameorselectormust be set, butnameandselectorare mutually exclusive properties. If one is set, the other must be unset.- Specified by:
getSelectorin interfaceParamRefV1Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-