Interface DevOpsGuruNewRecommendationCreated.Recommendation

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DevOpsGuruNewRecommendationCreated.Recommendation.Jsii$Proxy
Enclosing class:
DevOpsGuruNewRecommendationCreated

@Stability(Experimental) public static interface DevOpsGuruNewRecommendationCreated.Recommendation extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for Recommendation.

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();
 
  • Method Details

    • getDescription

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getLink

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getName

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getReason

      @Stability(Experimental) @Nullable default List<String> 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.Match for 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.Match for 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static DevOpsGuruNewRecommendationCreated.Recommendation.Builder builder()
      Returns:
      a DevOpsGuruNewRecommendationCreated.Recommendation.Builder of DevOpsGuruNewRecommendationCreated.Recommendation