Class Observation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Observation.Builder,Observation>
Describes an anomaly or error with the application.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Observation.Builderbuilder()final StringThe detail type of the CloudWatch Event-based observation, for example,EC2 Instance State-change Notification.final StringThe ID of the CloudWatch Event-based observation related to the detected problem.final CloudWatchEventSourceThe source of the CloudWatch Event.final StringThe source of the CloudWatch Event.final StringThe CodeDeploy application to which the deployment belongs.final StringThe deployment group to which the CodeDeploy deployment belongs.final StringThe deployment ID of the CodeDeploy-based observation related to the detected problem.final StringThe instance group to which the CodeDeploy instance belongs.final StringThe status of the CodeDeploy deployment, for exampleSUCCESSorFAILURE.final StringebsCause()The cause of an EBS CloudWatch event.final StringebsEvent()The type of EBS CloudWatch event, such ascreateVolume,deleteVolumeorattachVolume.final StringThe request ID of an EBS CloudWatch event.final StringThe result of an EBS CloudWatch event, such asfailedorsucceeded.final Stringec2State()The state of the instance, such asSTOPPINGorTERMINATING.final InstantendTime()The time when the observation ended, in epoch seconds.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon Resource Name (ARN) of the AWS Health Event-based observation.final StringThe description of the AWS Health event provided by the service, such as Amazon EC2.final StringThe category of the AWS Health event, such asissue.final StringThe type of the AWS Health event, for example,AWS_EC2_POWER_CONNECTIVITY_ISSUE.final StringThe service to which the AWS Health Event belongs, such as EC2.final Stringid()The ID of the observation type.final InstantlineTime()The timestamp in the CloudWatch Logs that specifies when the matched line occurred.final LogFilterThe log filter of the observation.final StringThe log filter of the observation.final StringlogGroup()The log group name.final StringlogText()The log text of the observation.final StringThe name of the observation metric.final StringThe namespace of the observation metric.final StringThe category of an RDS event.final StringThe message of an RDS event.final StringThe name of the S3 CloudWatch Event-based observation.static Class<? extends Observation.Builder> final StringThe source resource ARN of the observation.final StringThe source type of the observation.final InstantThe time when the observation was first detected, in epoch seconds.final StringThe Amazon Resource Name (ARN) of the step function-based observation.final StringThe Amazon Resource Name (ARN) of the step function execution-based observation.final StringThe input to the step function-based observation.final StringThe status of the step function-related observation.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringunit()The unit of the source observation metric.final Doublevalue()The value of the source observation metric.final IntegerThe X-Ray request error percentage for this node.final IntegerThe X-Ray request fault percentage for this node.final StringThe name of the X-Ray node.final StringThe type of the X-Ray node.final LongThe X-Ray node request average latency for this node.final IntegerThe X-Ray request count for this node.final IntegerThe X-Ray request throttle percentage for this node.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
-
startTime
The time when the observation was first detected, in epoch seconds.
- Returns:
- The time when the observation was first detected, in epoch seconds.
-
endTime
The time when the observation ended, in epoch seconds.
- Returns:
- The time when the observation ended, in epoch seconds.
-
sourceType
The source type of the observation.
- Returns:
- The source type of the observation.
-
sourceARN
The source resource ARN of the observation.
- Returns:
- The source resource ARN of the observation.
-
logGroup
-
lineTime
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
- Returns:
- The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
-
logText
The log text of the observation.
- Returns:
- The log text of the observation.
-
logFilter
The log filter of the observation.
If the service returns an enum value that is not available in the current SDK version,
logFilterwill returnLogFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogFilterAsString().- Returns:
- The log filter of the observation.
- See Also:
-
logFilterAsString
The log filter of the observation.
If the service returns an enum value that is not available in the current SDK version,
logFilterwill returnLogFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogFilterAsString().- Returns:
- The log filter of the observation.
- See Also:
-
metricNamespace
The namespace of the observation metric.
- Returns:
- The namespace of the observation metric.
-
metricName
The name of the observation metric.
- Returns:
- The name of the observation metric.
-
unit
The unit of the source observation metric.
- Returns:
- The unit of the source observation metric.
-
value
The value of the source observation metric.
- Returns:
- The value of the source observation metric.
-
cloudWatchEventId
The ID of the CloudWatch Event-based observation related to the detected problem.
- Returns:
- The ID of the CloudWatch Event-based observation related to the detected problem.
-
cloudWatchEventSource
The source of the CloudWatch Event.
If the service returns an enum value that is not available in the current SDK version,
cloudWatchEventSourcewill returnCloudWatchEventSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcloudWatchEventSourceAsString().- Returns:
- The source of the CloudWatch Event.
- See Also:
-
cloudWatchEventSourceAsString
The source of the CloudWatch Event.
If the service returns an enum value that is not available in the current SDK version,
cloudWatchEventSourcewill returnCloudWatchEventSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcloudWatchEventSourceAsString().- Returns:
- The source of the CloudWatch Event.
- See Also:
-
cloudWatchEventDetailType
The detail type of the CloudWatch Event-based observation, for example,
EC2 Instance State-change Notification.- Returns:
- The detail type of the CloudWatch Event-based observation, for example,
EC2 Instance State-change Notification.
-
healthEventArn
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
- Returns:
- The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
-
healthService
The service to which the AWS Health Event belongs, such as EC2.
- Returns:
- The service to which the AWS Health Event belongs, such as EC2.
-
healthEventTypeCode
The type of the AWS Health event, for example,
AWS_EC2_POWER_CONNECTIVITY_ISSUE.- Returns:
- The type of the AWS Health event, for example,
AWS_EC2_POWER_CONNECTIVITY_ISSUE.
-
healthEventTypeCategory
The category of the AWS Health event, such as
issue.- Returns:
- The category of the AWS Health event, such as
issue.
-
healthEventDescription
The description of the AWS Health event provided by the service, such as Amazon EC2.
- Returns:
- The description of the AWS Health event provided by the service, such as Amazon EC2.
-
codeDeployDeploymentId
The deployment ID of the CodeDeploy-based observation related to the detected problem.
- Returns:
- The deployment ID of the CodeDeploy-based observation related to the detected problem.
-
codeDeployDeploymentGroup
The deployment group to which the CodeDeploy deployment belongs.
- Returns:
- The deployment group to which the CodeDeploy deployment belongs.
-
codeDeployState
The status of the CodeDeploy deployment, for example
SUCCESSorFAILURE.- Returns:
- The status of the CodeDeploy deployment, for example
SUCCESSorFAILURE.
-
codeDeployApplication
The CodeDeploy application to which the deployment belongs.
- Returns:
- The CodeDeploy application to which the deployment belongs.
-
codeDeployInstanceGroupId
The instance group to which the CodeDeploy instance belongs.
- Returns:
- The instance group to which the CodeDeploy instance belongs.
-
ec2State
The state of the instance, such as
STOPPINGorTERMINATING.- Returns:
- The state of the instance, such as
STOPPINGorTERMINATING.
-
rdsEventCategories
The category of an RDS event.
- Returns:
- The category of an RDS event.
-
rdsEventMessage
The message of an RDS event.
- Returns:
- The message of an RDS event.
-
s3EventName
The name of the S3 CloudWatch Event-based observation.
- Returns:
- The name of the S3 CloudWatch Event-based observation.
-
statesExecutionArn
The Amazon Resource Name (ARN) of the step function execution-based observation.
- Returns:
- The Amazon Resource Name (ARN) of the step function execution-based observation.
-
statesArn
The Amazon Resource Name (ARN) of the step function-based observation.
- Returns:
- The Amazon Resource Name (ARN) of the step function-based observation.
-
statesStatus
The status of the step function-related observation.
- Returns:
- The status of the step function-related observation.
-
statesInput
The input to the step function-based observation.
- Returns:
- The input to the step function-based observation.
-
ebsEvent
The type of EBS CloudWatch event, such as
createVolume,deleteVolumeorattachVolume.- Returns:
- The type of EBS CloudWatch event, such as
createVolume,deleteVolumeorattachVolume.
-
ebsResult
The result of an EBS CloudWatch event, such as
failedorsucceeded.- Returns:
- The result of an EBS CloudWatch event, such as
failedorsucceeded.
-
ebsCause
The cause of an EBS CloudWatch event.
- Returns:
- The cause of an EBS CloudWatch event.
-
ebsRequestId
The request ID of an EBS CloudWatch event.
- Returns:
- The request ID of an EBS CloudWatch event.
-
xRayFaultPercent
The X-Ray request fault percentage for this node.
- Returns:
- The X-Ray request fault percentage for this node.
-
xRayThrottlePercent
The X-Ray request throttle percentage for this node.
- Returns:
- The X-Ray request throttle percentage for this node.
-
xRayErrorPercent
The X-Ray request error percentage for this node.
- Returns:
- The X-Ray request error percentage for this node.
-
xRayRequestCount
The X-Ray request count for this node.
- Returns:
- The X-Ray request count for this node.
-
xRayRequestAverageLatency
The X-Ray node request average latency for this node.
- Returns:
- The X-Ray node request average latency for this node.
-
xRayNodeName
-
xRayNodeType
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Observation.Builder,Observation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-