@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 String id()
The ID of the observation type.
public Instant startTime()
The time when the observation was first detected, in epoch seconds.
public Instant endTime()
The time when the observation ended, in epoch seconds.
public String sourceType()
The source type of the observation.
public String sourceARN()
The source resource ARN of the observation.
public String logGroup()
The log group name.
public Instant lineTime()
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
public String logText()
The log text of the observation.
public 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 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 String metricNamespace()
The namespace of the observation metric.
public String metricName()
The name of the observation metric.
public String unit()
The unit of the source observation metric.
public Double value()
The value of the source observation metric.
public String cloudWatchEventId()
The ID of the CloudWatch Event-based observation related to the detected problem.
public 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 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 String cloudWatchEventDetailType()
The detail type of the CloudWatch Event-based observation, for example,
EC2 Instance State-change Notification.
EC2 Instance State-change Notification.public String healthEventArn()
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
public String healthService()
The service to which the AWS Health Event belongs, such as EC2.
public String healthEventTypeCode()
The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.
AWS_EC2_POWER_CONNECTIVITY_ISSUE.public String healthEventTypeCategory()
The category of the AWS Health event, such as issue.
issue.public String healthEventDescription()
The description of the AWS Health event provided by the service, such as Amazon EC2.
public String codeDeployDeploymentId()
The deployment ID of the CodeDeploy-based observation related to the detected problem.
public String codeDeployDeploymentGroup()
The deployment group to which the CodeDeploy deployment belongs.
public String codeDeployState()
The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.
SUCCESS or FAILURE.public String codeDeployApplication()
The CodeDeploy application to which the deployment belongs.
public String codeDeployInstanceGroupId()
The instance group to which the CodeDeploy instance belongs.
public String ec2State()
The state of the instance, such as STOPPING or TERMINATING.
STOPPING or TERMINATING.public String rdsEventCategories()
The category of an RDS event.
public String rdsEventMessage()
The message of an RDS event.
public String s3EventName()
The name of the S3 CloudWatch Event-based observation.
public String statesExecutionArn()
The Amazon Resource Name (ARN) of the step function execution-based observation.
public String statesArn()
The Amazon Resource Name (ARN) of the step function-based observation.
public String statesStatus()
The status of the step function-related observation.
public String statesInput()
The input to the step function-based observation.
public String ebsEvent()
The type of EBS CloudWatch event, such as createVolume, deleteVolume or
attachVolume.
createVolume, deleteVolume or
attachVolume.public String ebsResult()
The result of an EBS CloudWatch event, such as failed or succeeded.
failed or succeeded.public String ebsCause()
The cause of an EBS CloudWatch event.
public String ebsRequestId()
The request ID of an EBS CloudWatch event.
public Integer xRayFaultPercent()
The X-Ray request fault percentage for this node.
public Integer xRayThrottlePercent()
The X-Ray request throttle percentage for this node.
public Integer xRayErrorPercent()
The X-Ray request error percentage for this node.
public Integer xRayRequestCount()
The X-Ray request count for this node.
public Long xRayRequestAverageLatency()
The X-Ray node request average latency for this node.
public String xRayNodeName()
The name of the X-Ray node.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.