@@ -47,7 +47,7 @@ public class ActiveViolation implements Serializable {
4747
4848 /**
4949 * <p>
50- * The security profile whose behavior is in violation.
50+ * The security profile with the behavior is in violation.
5151 * </p>
5252 * <p>
5353 * <b>Constraints:</b><br/>
@@ -58,19 +58,26 @@ public class ActiveViolation implements Serializable {
5858
5959 /**
6060 * <p>
61- * The behavior which is being violated.
61+ * The behavior that is being violated.
6262 * </p>
6363 */
6464 private Behavior behavior ;
6565
6666 /**
6767 * <p>
68- * The value of the metric (the measurement) which caused the most recent
68+ * The value of the metric (the measurement) that caused the most recent
6969 * violation.
7070 * </p>
7171 */
7272 private MetricValue lastViolationValue ;
7373
74+ /**
75+ * <p>
76+ * The details of a violation event.
77+ * </p>
78+ */
79+ private ViolationEventAdditionalInfo violationEventAdditionalInfo ;
80+
7481 /**
7582 * <p>
7683 * The time the most recent violation occurred.
@@ -198,15 +205,15 @@ public ActiveViolation withThingName(String thingName) {
198205
199206 /**
200207 * <p>
201- * The security profile whose behavior is in violation.
208+ * The security profile with the behavior is in violation.
202209 * </p>
203210 * <p>
204211 * <b>Constraints:</b><br/>
205212 * <b>Length: </b>1 - 128<br/>
206213 * <b>Pattern: </b>[a-zA-Z0-9:_-]+<br/>
207214 *
208215 * @return <p>
209- * The security profile whose behavior is in violation.
216+ * The security profile with the behavior is in violation.
210217 * </p>
211218 */
212219 public String getSecurityProfileName () {
@@ -215,15 +222,15 @@ public String getSecurityProfileName() {
215222
216223 /**
217224 * <p>
218- * The security profile whose behavior is in violation.
225+ * The security profile with the behavior is in violation.
219226 * </p>
220227 * <p>
221228 * <b>Constraints:</b><br/>
222229 * <b>Length: </b>1 - 128<br/>
223230 * <b>Pattern: </b>[a-zA-Z0-9:_-]+<br/>
224231 *
225232 * @param securityProfileName <p>
226- * The security profile whose behavior is in violation.
233+ * The security profile with the behavior is in violation.
227234 * </p>
228235 */
229236 public void setSecurityProfileName (String securityProfileName ) {
@@ -232,7 +239,7 @@ public void setSecurityProfileName(String securityProfileName) {
232239
233240 /**
234241 * <p>
235- * The security profile whose behavior is in violation.
242+ * The security profile with the behavior is in violation.
236243 * </p>
237244 * <p>
238245 * Returns a reference to this object so that method calls can be chained
@@ -243,7 +250,7 @@ public void setSecurityProfileName(String securityProfileName) {
243250 * <b>Pattern: </b>[a-zA-Z0-9:_-]+<br/>
244251 *
245252 * @param securityProfileName <p>
246- * The security profile whose behavior is in violation.
253+ * The security profile with the behavior is in violation.
247254 * </p>
248255 * @return A reference to this updated object so that method calls can be
249256 * chained together.
@@ -255,11 +262,11 @@ public ActiveViolation withSecurityProfileName(String securityProfileName) {
255262
256263 /**
257264 * <p>
258- * The behavior which is being violated.
265+ * The behavior that is being violated.
259266 * </p>
260267 *
261268 * @return <p>
262- * The behavior which is being violated.
269+ * The behavior that is being violated.
263270 * </p>
264271 */
265272 public Behavior getBehavior () {
@@ -268,11 +275,11 @@ public Behavior getBehavior() {
268275
269276 /**
270277 * <p>
271- * The behavior which is being violated.
278+ * The behavior that is being violated.
272279 * </p>
273280 *
274281 * @param behavior <p>
275- * The behavior which is being violated.
282+ * The behavior that is being violated.
276283 * </p>
277284 */
278285 public void setBehavior (Behavior behavior ) {
@@ -281,14 +288,14 @@ public void setBehavior(Behavior behavior) {
281288
282289 /**
283290 * <p>
284- * The behavior which is being violated.
291+ * The behavior that is being violated.
285292 * </p>
286293 * <p>
287294 * Returns a reference to this object so that method calls can be chained
288295 * together.
289296 *
290297 * @param behavior <p>
291- * The behavior which is being violated.
298+ * The behavior that is being violated.
292299 * </p>
293300 * @return A reference to this updated object so that method calls can be
294301 * chained together.
@@ -300,12 +307,12 @@ public ActiveViolation withBehavior(Behavior behavior) {
300307
301308 /**
302309 * <p>
303- * The value of the metric (the measurement) which caused the most recent
310+ * The value of the metric (the measurement) that caused the most recent
304311 * violation.
305312 * </p>
306313 *
307314 * @return <p>
308- * The value of the metric (the measurement) which caused the most
315+ * The value of the metric (the measurement) that caused the most
309316 * recent violation.
310317 * </p>
311318 */
@@ -315,13 +322,13 @@ public MetricValue getLastViolationValue() {
315322
316323 /**
317324 * <p>
318- * The value of the metric (the measurement) which caused the most recent
325+ * The value of the metric (the measurement) that caused the most recent
319326 * violation.
320327 * </p>
321328 *
322329 * @param lastViolationValue <p>
323- * The value of the metric (the measurement) which caused the
324- * most recent violation.
330+ * The value of the metric (the measurement) that caused the most
331+ * recent violation.
325332 * </p>
326333 */
327334 public void setLastViolationValue (MetricValue lastViolationValue ) {
@@ -330,16 +337,16 @@ public void setLastViolationValue(MetricValue lastViolationValue) {
330337
331338 /**
332339 * <p>
333- * The value of the metric (the measurement) which caused the most recent
340+ * The value of the metric (the measurement) that caused the most recent
334341 * violation.
335342 * </p>
336343 * <p>
337344 * Returns a reference to this object so that method calls can be chained
338345 * together.
339346 *
340347 * @param lastViolationValue <p>
341- * The value of the metric (the measurement) which caused the
342- * most recent violation.
348+ * The value of the metric (the measurement) that caused the most
349+ * recent violation.
343350 * </p>
344351 * @return A reference to this updated object so that method calls can be
345352 * chained together.
@@ -349,6 +356,53 @@ public ActiveViolation withLastViolationValue(MetricValue lastViolationValue) {
349356 return this ;
350357 }
351358
359+ /**
360+ * <p>
361+ * The details of a violation event.
362+ * </p>
363+ *
364+ * @return <p>
365+ * The details of a violation event.
366+ * </p>
367+ */
368+ public ViolationEventAdditionalInfo getViolationEventAdditionalInfo () {
369+ return violationEventAdditionalInfo ;
370+ }
371+
372+ /**
373+ * <p>
374+ * The details of a violation event.
375+ * </p>
376+ *
377+ * @param violationEventAdditionalInfo <p>
378+ * The details of a violation event.
379+ * </p>
380+ */
381+ public void setViolationEventAdditionalInfo (
382+ ViolationEventAdditionalInfo violationEventAdditionalInfo ) {
383+ this .violationEventAdditionalInfo = violationEventAdditionalInfo ;
384+ }
385+
386+ /**
387+ * <p>
388+ * The details of a violation event.
389+ * </p>
390+ * <p>
391+ * Returns a reference to this object so that method calls can be chained
392+ * together.
393+ *
394+ * @param violationEventAdditionalInfo <p>
395+ * The details of a violation event.
396+ * </p>
397+ * @return A reference to this updated object so that method calls can be
398+ * chained together.
399+ */
400+ public ActiveViolation withViolationEventAdditionalInfo (
401+ ViolationEventAdditionalInfo violationEventAdditionalInfo ) {
402+ this .violationEventAdditionalInfo = violationEventAdditionalInfo ;
403+ return this ;
404+ }
405+
352406 /**
353407 * <p>
354408 * The time the most recent violation occurred.
@@ -460,6 +514,8 @@ public String toString() {
460514 sb .append ("behavior: " + getBehavior () + "," );
461515 if (getLastViolationValue () != null )
462516 sb .append ("lastViolationValue: " + getLastViolationValue () + "," );
517+ if (getViolationEventAdditionalInfo () != null )
518+ sb .append ("violationEventAdditionalInfo: " + getViolationEventAdditionalInfo () + "," );
463519 if (getLastViolationTime () != null )
464520 sb .append ("lastViolationTime: " + getLastViolationTime () + "," );
465521 if (getViolationStartTime () != null )
@@ -481,6 +537,10 @@ public int hashCode() {
481537 hashCode = prime * hashCode + ((getBehavior () == null ) ? 0 : getBehavior ().hashCode ());
482538 hashCode = prime * hashCode
483539 + ((getLastViolationValue () == null ) ? 0 : getLastViolationValue ().hashCode ());
540+ hashCode = prime
541+ * hashCode
542+ + ((getViolationEventAdditionalInfo () == null ) ? 0
543+ : getViolationEventAdditionalInfo ().hashCode ());
484544 hashCode = prime * hashCode
485545 + ((getLastViolationTime () == null ) ? 0 : getLastViolationTime ().hashCode ());
486546 hashCode = prime * hashCode
@@ -523,6 +583,13 @@ public boolean equals(Object obj) {
523583 if (other .getLastViolationValue () != null
524584 && other .getLastViolationValue ().equals (this .getLastViolationValue ()) == false )
525585 return false ;
586+ if (other .getViolationEventAdditionalInfo () == null
587+ ^ this .getViolationEventAdditionalInfo () == null )
588+ return false ;
589+ if (other .getViolationEventAdditionalInfo () != null
590+ && other .getViolationEventAdditionalInfo ().equals (
591+ this .getViolationEventAdditionalInfo ()) == false )
592+ return false ;
526593 if (other .getLastViolationTime () == null ^ this .getLastViolationTime () == null )
527594 return false ;
528595 if (other .getLastViolationTime () != null
0 commit comments