@Generated(value="software.amazon.awssdk:codegen") public final class RecommendationRelatedAnomaly extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecommendationRelatedAnomaly.Builder,RecommendationRelatedAnomaly>
Information about an anomaly that is related to a recommendation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RecommendationRelatedAnomaly.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RecommendationRelatedAnomaly.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResources()
Returns true if the Resources property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasSourceDetails()
Returns true if the SourceDetails property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<RecommendationRelatedAnomalyResource> |
resources()
An array of objects that represent resources in which DevOps Guru detected anomalous behavior.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RecommendationRelatedAnomaly.Builder> |
serializableBuilderClass() |
List<RecommendationRelatedAnomalySourceDetail> |
sourceDetails()
Information about where the anomalous behavior related the recommendation was found.
|
RecommendationRelatedAnomaly.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasResources()
public final List<RecommendationRelatedAnomalyResource> resources()
An array of objects that represent resources in which DevOps Guru detected anomalous behavior. Each object contains the name and type of the resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResources() to see if a value was sent in this field.
public final boolean hasSourceDetails()
public final List<RecommendationRelatedAnomalySourceDetail> sourceDetails()
Information about where the anomalous behavior related the recommendation was found. For example, details in Amazon CloudWatch metrics.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSourceDetails() to see if a value was sent in this field.
public RecommendationRelatedAnomaly.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RecommendationRelatedAnomaly.Builder,RecommendationRelatedAnomaly>public static RecommendationRelatedAnomaly.Builder builder()
public static Class<? extends RecommendationRelatedAnomaly.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.