Class V1alpha1MutatingAdmissionPolicyBindingSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1MutatingAdmissionPolicyBindingSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1alpha1MutatingAdmissionPolicyBindingSpec
extends Object
MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1alpha1MutatingAdmissionPolicyBindingSpec given an JSON stringGet matchResourcesGet paramRefpolicyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to.int
hashCode()
matchResources
(V1alpha1MatchResources matchResources) paramRef
(V1alpha1ParamRef paramRef) policyName
(String policyName) void
setMatchResources
(V1alpha1MatchResources matchResources) void
setParamRef
(V1alpha1ParamRef paramRef) void
setPolicyName
(String policyName) toJson()
Convert an instance of V1alpha1MutatingAdmissionPolicyBindingSpec to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MATCH_RESOURCES
- See Also:
-
SERIALIZED_NAME_PARAM_REF
- See Also:
-
SERIALIZED_NAME_POLICY_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1MutatingAdmissionPolicyBindingSpec
public V1alpha1MutatingAdmissionPolicyBindingSpec()
-
-
Method Details
-
matchResources
public V1alpha1MutatingAdmissionPolicyBindingSpec matchResources(V1alpha1MatchResources matchResources) -
getMatchResources
Get matchResources- Returns:
- matchResources
-
setMatchResources
-
paramRef
-
getParamRef
Get paramRef- Returns:
- paramRef
-
setParamRef
-
policyName
-
getPolicyName
policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.- Returns:
- policyName
-
setPolicyName
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1alpha1MutatingAdmissionPolicyBindingSpec
-
fromJson
public static V1alpha1MutatingAdmissionPolicyBindingSpec fromJson(String jsonString) throws IOException Create an instance of V1alpha1MutatingAdmissionPolicyBindingSpec given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha1MutatingAdmissionPolicyBindingSpec
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha1MutatingAdmissionPolicyBindingSpec
-
toJson
Convert an instance of V1alpha1MutatingAdmissionPolicyBindingSpec to an JSON string- Returns:
- JSON string
-