Interface DevOpsGuruNewRecommendationCreated.RelatedAnomaly
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DevOpsGuruNewRecommendationCreated.RelatedAnomaly.Jsii$Proxy
- Enclosing class:
DevOpsGuruNewRecommendationCreated
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.devopsguru.events.*;
RelatedAnomaly relatedAnomaly = RelatedAnomaly.builder()
.associatedResourceArns(List.of("associatedResourceArns"))
.resources(List.of(AnomalyResource.builder()
.name(List.of("name"))
.type(List.of("type"))
.build()))
.sourceDetails(List.of(RelatedAnomalySourceDetail.builder()
.cloudWatchMetrics(List.of(CloudWatchDimension.builder()
.metricName(List.of("metricName"))
.namespace(List.of("namespace"))
.build()))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDevOpsGuruNewRecommendationCreated.RelatedAnomalystatic final classAn implementation forDevOpsGuruNewRecommendationCreated.RelatedAnomaly -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) associatedResourceArns property.(experimental) resources property.(experimental) sourceDetails property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssociatedResourceArns
(experimental) associatedResourceArns property.Specify an array of string values to match this event if the actual value of associatedResourceArns is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getResources
@Stability(Experimental) @Nullable default List<DevOpsGuruNewRecommendationCreated.AnomalyResource> getResources()(experimental) resources property.Specify an array of string values to match this event if the actual value of resources is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getSourceDetails
@Stability(Experimental) @Nullable default List<DevOpsGuruNewRecommendationCreated.RelatedAnomalySourceDetail> getSourceDetails()(experimental) sourceDetails property.Specify an array of string values to match this event if the actual value of sourceDetails is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-