Class PolicyViolationJson.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.amazon.awscdk.cloudassembly.schema.PolicyViolationJson.Jsii$Proxy
-
- All Implemented Interfaces:
PolicyViolationJson,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PolicyViolationJson
@Stability(Stable) @Internal public static final class PolicyViolationJson.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PolicyViolationJson
An implementation forPolicyViolationJson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.amazon.awscdk.cloudassembly.schema.PolicyViolationJson
PolicyViolationJson.Builder, PolicyViolationJson.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PolicyViolationJson.Builder builder)Constructor that initializes the object based on literal property values passed by thePolicyViolationJson.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)StringgetCustomSeverity()If the plugin wants to report using a non-standard severity, put it here.StringgetDescription()A description of the violation.Map<String,String>getRuleMetadata()Additional rule-specific metadata.StringgetRuleName()The name of the rule that was violated.StringgetSeverity()The severity of the violation.StringgetSuggestedFix()How to fix the violation.List<ViolatingConstructJson>getViolatingConstructs()Constructs that violated the rule.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(PolicyViolationJson.Builder builder)
Constructor that initializes the object based on literal property values passed by thePolicyViolationJson.Builder.
-
-
Method Detail
-
getDescription
public final String getDescription()
Description copied from interface:PolicyViolationJsonA description of the violation.- Specified by:
getDescriptionin interfacePolicyViolationJson
-
getRuleName
public final String getRuleName()
Description copied from interface:PolicyViolationJsonThe name of the rule that was violated.This may include a namespace:
'<namespace>::<rule-name>'. If it does not, the plugin name will be used as the namespace.The namespace must be included when acknowledging the violation.
- Specified by:
getRuleNamein interfacePolicyViolationJson
-
getSeverity
public final String getSeverity()
Description copied from interface:PolicyViolationJsonThe severity of the violation.- Specified by:
getSeverityin interfacePolicyViolationJson
-
getViolatingConstructs
public final List<ViolatingConstructJson> getViolatingConstructs()
Description copied from interface:PolicyViolationJsonConstructs that violated the rule.- Specified by:
getViolatingConstructsin interfacePolicyViolationJson
-
getCustomSeverity
public final String getCustomSeverity()
Description copied from interface:PolicyViolationJsonIf the plugin wants to report using a non-standard severity, put it here.- Specified by:
getCustomSeverityin interfacePolicyViolationJson
-
getRuleMetadata
public final Map<String,String> getRuleMetadata()
Description copied from interface:PolicyViolationJsonAdditional rule-specific metadata.Default: - no metadata
- Specified by:
getRuleMetadatain interfacePolicyViolationJson
-
getSuggestedFix
public final String getSuggestedFix()
Description copied from interface:PolicyViolationJsonHow to fix the violation.Default: - no fix provided
- Specified by:
getSuggestedFixin interfacePolicyViolationJson
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-