@Generated(value="software.amazon.awssdk:codegen") public final class Observation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Observation.Builder,Observation>
Describes an anomaly or error with the application.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Observation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Observation.Builder |
builder() |
String |
cloudWatchEventDetailType()
The detail type of the CloudWatch Event-based observation, for example,
EC2 Instance State-change Notification. |
String |
cloudWatchEventId()
The ID of the CloudWatch Event-based observation related to the detected problem.
|
CloudWatchEventSource |
cloudWatchEventSource()
The source of the CloudWatch Event.
|
String |
cloudWatchEventSourceAsString()
The source of the CloudWatch Event.
|
String |
codeDeployApplication()
The CodeDeploy application to which the deployment belongs.
|
String |
codeDeployDeploymentGroup()
The deployment group to which the CodeDeploy deployment belongs.
|
String |
codeDeployDeploymentId()
The deployment ID of the CodeDeploy-based observation related to the detected problem.
|
String |
codeDeployInstanceGroupId()
The instance group to which the CodeDeploy instance belongs.
|
String |
codeDeployState()
The status of the CodeDeploy deployment, for example
SUCCESS or FAILURE. |
String |
ebsCause()
The cause of an EBS CloudWatch event.
|
String |
ebsEvent()
The type of EBS CloudWatch event, such as
createVolume, deleteVolume or
attachVolume. |
String |
ebsRequestId()
The request ID of an EBS CloudWatch event.
|
String |
ebsResult()
The result of an EBS CloudWatch event, such as
failed or succeeded. |
String |
ec2State()
The state of the instance, such as
STOPPING or TERMINATING. |
Instant |
endTime()
The time when the observation ended, in epoch seconds.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
healthEventArn()
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
|
String |
healthEventDescription()
The description of the AWS Health event provided by the service, such as Amazon EC2.
|
String |
healthEventTypeCategory()
The category of the AWS Health event, such as
issue. |
String |
healthEventTypeCode()
The type of the AWS Health event, for example,
AWS_EC2_POWER_CONNECTIVITY_ISSUE. |
String |
healthService()
The service to which the AWS Health Event belongs, such as EC2.
|
String |
id()
The ID of the observation type.
|
Instant |
lineTime()
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
|
LogFilter |
logFilter()
The log filter of the observation.
|
String |
logFilterAsString()
The log filter of the observation.
|
String |
logGroup()
The log group name.
|
String |
logText()
The log text of the observation.
|
String |
metricName()
The name of the observation metric.
|
String |
metricNamespace()
The namespace of the observation metric.
|
String |
rdsEventCategories()
The category of an RDS event.
|
String |
rdsEventMessage()
The message of an RDS event.
|
String |
s3EventName()
The name of the S3 CloudWatch Event-based observation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Observation.Builder> |
serializableBuilderClass() |
String |
sourceARN()
The source resource ARN of the observation.
|
String |
sourceType()
The source type of the observation.
|
Instant |
startTime()
The time when the observation was first detected, in epoch seconds.
|
String |
statesArn()
The Amazon Resource Name (ARN) of the step function-based observation.
|
String |
statesExecutionArn()
The Amazon Resource Name (ARN) of the step function execution-based observation.
|
String |
statesInput()
The input to the step function-based observation.
|
String |
statesStatus()
The status of the step function-related observation.
|
Observation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
unit()
The unit of the source observation metric.
|
Double |
value()
The value of the source observation metric.
|
Integer |
xRayErrorPercent()
The X-Ray request error percentage for this node.
|
Integer |
xRayFaultPercent()
The X-Ray request fault percentage for this node.
|
String |
xRayNodeName()
The name of the X-Ray node.
|
String |
xRayNodeType()
The type of the X-Ray node.
|
Long |
xRayRequestAverageLatency()
The X-Ray node request average latency for this node.
|
Integer |
xRayRequestCount()
The X-Ray request count for this node.
|
Integer |
xRayThrottlePercent()
The X-Ray request throttle percentage for this node.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the observation type.
public final Instant startTime()
The time when the observation was first detected, in epoch seconds.
public final Instant endTime()
The time when the observation ended, in epoch seconds.
public final String sourceType()
The source type of the observation.
public final String sourceARN()
The source resource ARN of the observation.
public final String logGroup()
The log group name.
public final Instant lineTime()
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
public final String logText()
The log text of the observation.
public final LogFilter logFilter()
The log filter of the observation.
If the service returns an enum value that is not available in the current SDK version, logFilter will
return LogFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logFilterAsString().
LogFilterpublic final String logFilterAsString()
The log filter of the observation.
If the service returns an enum value that is not available in the current SDK version, logFilter will
return LogFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logFilterAsString().
LogFilterpublic final String metricNamespace()
The namespace of the observation metric.
public final String metricName()
The name of the observation metric.
public final String unit()
The unit of the source observation metric.
public final Double value()
The value of the source observation metric.
public final String cloudWatchEventId()
The ID of the CloudWatch Event-based observation related to the detected problem.
public final CloudWatchEventSource cloudWatchEventSource()
The source of the CloudWatch Event.
If the service returns an enum value that is not available in the current SDK version,
cloudWatchEventSource will return CloudWatchEventSource.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from cloudWatchEventSourceAsString().
CloudWatchEventSourcepublic final String cloudWatchEventSourceAsString()
The source of the CloudWatch Event.
If the service returns an enum value that is not available in the current SDK version,
cloudWatchEventSource will return CloudWatchEventSource.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from cloudWatchEventSourceAsString().
CloudWatchEventSourcepublic final String cloudWatchEventDetailType()
The detail type of the CloudWatch Event-based observation, for example,
EC2 Instance State-change Notification.
EC2 Instance State-change Notification.public final String healthEventArn()
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
public final String healthService()
The service to which the AWS Health Event belongs, such as EC2.
public final String healthEventTypeCode()
The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.
AWS_EC2_POWER_CONNECTIVITY_ISSUE.public final String healthEventTypeCategory()
The category of the AWS Health event, such as issue.
issue.public final String healthEventDescription()
The description of the AWS Health event provided by the service, such as Amazon EC2.
public final String codeDeployDeploymentId()
The deployment ID of the CodeDeploy-based observation related to the detected problem.
public final String codeDeployDeploymentGroup()
The deployment group to which the CodeDeploy deployment belongs.
public final String codeDeployState()
The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.
SUCCESS or FAILURE.public final String codeDeployApplication()
The CodeDeploy application to which the deployment belongs.
public final String codeDeployInstanceGroupId()
The instance group to which the CodeDeploy instance belongs.
public final String ec2State()
The state of the instance, such as STOPPING or TERMINATING.
STOPPING or TERMINATING.public final String rdsEventCategories()
The category of an RDS event.
public final String rdsEventMessage()
The message of an RDS event.
public final String s3EventName()
The name of the S3 CloudWatch Event-based observation.
public final String statesExecutionArn()
The Amazon Resource Name (ARN) of the step function execution-based observation.
public final String statesArn()
The Amazon Resource Name (ARN) of the step function-based observation.
public final String statesStatus()
The status of the step function-related observation.
public final String statesInput()
The input to the step function-based observation.
public final String ebsEvent()
The type of EBS CloudWatch event, such as createVolume, deleteVolume or
attachVolume.
createVolume, deleteVolume or
attachVolume.public final String ebsResult()
The result of an EBS CloudWatch event, such as failed or succeeded.
failed or succeeded.public final String ebsCause()
The cause of an EBS CloudWatch event.
public final String ebsRequestId()
The request ID of an EBS CloudWatch event.
public final Integer xRayFaultPercent()
The X-Ray request fault percentage for this node.
public final Integer xRayThrottlePercent()
The X-Ray request throttle percentage for this node.
public final Integer xRayErrorPercent()
The X-Ray request error percentage for this node.
public final Integer xRayRequestCount()
The X-Ray request count for this node.
public final Long xRayRequestAverageLatency()
The X-Ray node request average latency for this node.
public final String xRayNodeName()
The name of the X-Ray node.
public final String xRayNodeType()
The type of the X-Ray node.
public Observation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Observation.Builder,Observation>public static Observation.Builder builder()
public static Class<? extends Observation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.