Package software.amazon.awscdk
Class PolicyViolation.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.PolicyViolation.Jsii$Proxy
- All Implemented Interfaces:
PolicyViolation,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
PolicyViolation
@Stability(Stable)
@Internal
public static final class PolicyViolation.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements PolicyViolation
An implementation for
PolicyViolation-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.PolicyViolation
PolicyViolation.Builder, PolicyViolation.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(PolicyViolation.Builder builder) Constructor that initializes the object based on literal property values passed by thePolicyViolation.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe description of the violation.final StringgetFix()How to fix the violation.Additional metadata to include with the rule results.final StringThe name of the rule.final StringThe severity of the violation, only used for reporting purposes.final List<PolicyViolatingResource> The resources violating this rule.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
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
Constructor that initializes the object based on literal property values passed by thePolicyViolation.Builder.
-
-
Method Details
-
getDescription
Description copied from interface:PolicyViolationThe description of the violation.- Specified by:
getDescriptionin interfacePolicyViolation
-
getRuleName
Description copied from interface:PolicyViolationThe name of the rule.- Specified by:
getRuleNamein interfacePolicyViolation
-
getViolatingResources
Description copied from interface:PolicyViolationThe resources violating this rule.- Specified by:
getViolatingResourcesin interfacePolicyViolation
-
getFix
Description copied from interface:PolicyViolationHow to fix the violation.Default: - no fix is provided
- Specified by:
getFixin interfacePolicyViolation
-
getRuleMetadata
Description copied from interface:PolicyViolationAdditional metadata to include with the rule results.This can be used to provide additional information that is plugin specific. The data provided here will be rendered as is.
Default: - no rule metadata
- Specified by:
getRuleMetadatain interfacePolicyViolation
-
getSeverity
Description copied from interface:PolicyViolationThe severity of the violation, only used for reporting purposes.This is useful for helping the user discriminate between warnings, errors, information, etc.
Default: - no severity
- Specified by:
getSeverityin interfacePolicyViolation
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-