Interface DevOpsGuruNewRecommendationCreated.Recommendation
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DevOpsGuruNewRecommendationCreated.Recommendation.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.*;
Recommendation recommendation = Recommendation.builder()
.description(List.of("description"))
.link(List.of("link"))
.name(List.of("name"))
.reason(List.of("reason"))
.relatedAnomalies(List.of(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()))
.relatedEvents(List.of(RelatedEvent.builder()
.name(List.of("name"))
.resources(List.of(EventResource.builder()
.name(List.of("name"))
.type(List.of("type"))
.build()))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDevOpsGuruNewRecommendationCreated.Recommendationstatic final classAn implementation forDevOpsGuruNewRecommendationCreated.Recommendation -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
(experimental) description property.Specify an array of string values to match this event if the actual value of description 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
-
getLink
(experimental) link property.Specify an array of string values to match this event if the actual value of link 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
-
getName
(experimental) name property.Specify an array of string values to match this event if the actual value of name 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
-
getReason
(experimental) reason property.Specify an array of string values to match this event if the actual value of reason 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
-
getRelatedAnomalies
@Stability(Experimental) @Nullable default List<DevOpsGuruNewRecommendationCreated.RelatedAnomaly> getRelatedAnomalies()(experimental) relatedAnomalies property.Specify an array of string values to match this event if the actual value of relatedAnomalies 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
-
getRelatedEvents
@Stability(Experimental) @Nullable default List<DevOpsGuruNewRecommendationCreated.RelatedEvent> getRelatedEvents()(experimental) relatedEvents property.Specify an array of string values to match this event if the actual value of relatedEvents 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
-