Class SuppressedViolationJson.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.amazon.awscdk.cloudassembly.schema.SuppressedViolationJson.Jsii$Proxy
-
- All Implemented Interfaces:
PolicyViolationJson,SuppressedViolationJson,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- SuppressedViolationJson
@Stability(Stable) @Internal public static final class SuppressedViolationJson.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SuppressedViolationJson
An implementation forSuppressedViolationJson
-
-
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.SuppressedViolationJson
SuppressedViolationJson.Builder, SuppressedViolationJson.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(SuppressedViolationJson.Builder builder)Constructor that initializes the object based on literal property values passed by theSuppressedViolationJson.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)StringgetAcknowledgedAt()The construct path where the acknowledgement was declared.StringgetAcknowledgedId()The acknowledgement ID that caused this violation to be suppressed.StringgetAcknowledgedStackTrace()Stack trace showing where the acknowledgement was declared.StringgetCustomSeverity()If the plugin wants to report using a non-standard severity, put it here.StringgetDescription()A description of the violation.StringgetReason()The reason given for the acknowledgement, if provided.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(SuppressedViolationJson.Builder builder)
Constructor that initializes the object based on literal property values passed by theSuppressedViolationJson.Builder.
-
-
Method Detail
-
getAcknowledgedId
public final String getAcknowledgedId()
Description copied from interface:SuppressedViolationJsonThe acknowledgement ID that caused this violation to be suppressed.Format:
<plugin-name>::<rule-name>(spaces replaced with hyphens).- Specified by:
getAcknowledgedIdin interfaceSuppressedViolationJson
-
getAcknowledgedAt
public final String getAcknowledgedAt()
Description copied from interface:SuppressedViolationJsonThe construct path where the acknowledgement was declared.Default: - unknown
- Specified by:
getAcknowledgedAtin interfaceSuppressedViolationJson
-
getAcknowledgedStackTrace
public final String getAcknowledgedStackTrace()
Description copied from interface:SuppressedViolationJsonStack trace showing where the acknowledgement was declared.A
\n-delimited string of stack frames.Default: - no stack trace
- Specified by:
getAcknowledgedStackTracein interfaceSuppressedViolationJson
-
getReason
public final String getReason()
Description copied from interface:SuppressedViolationJsonThe reason given for the acknowledgement, if provided.Default: - no reason given
- Specified by:
getReasonin interfaceSuppressedViolationJson
-
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
-
-