Class Observation
- java.lang.Object
-
- software.amazon.awssdk.services.applicationinsights.model.Observation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Observation.Builder,Observation>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceObservation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Observation.Builderbuilder()StringcloudWatchEventDetailType()The detail type of the CloudWatch Event-based observation, for example,EC2 Instance State-change Notification.StringcloudWatchEventId()The ID of the CloudWatch Event-based observation related to the detected problem.CloudWatchEventSourcecloudWatchEventSource()The source of the CloudWatch Event.StringcloudWatchEventSourceAsString()The source of the CloudWatch Event.StringcodeDeployApplication()The CodeDeploy application to which the deployment belongs.StringcodeDeployDeploymentGroup()The deployment group to which the CodeDeploy deployment belongs.StringcodeDeployDeploymentId()The deployment ID of the CodeDeploy-based observation related to the detected problem.StringcodeDeployInstanceGroupId()The instance group to which the CodeDeploy instance belongs.StringcodeDeployState()The status of the CodeDeploy deployment, for exampleSUCCESSorFAILURE.StringebsCause()The cause of an EBS CloudWatch event.StringebsEvent()The type of EBS CloudWatch event, such ascreateVolume,deleteVolumeorattachVolume.StringebsRequestId()The request ID of an EBS CloudWatch event.StringebsResult()The result of an EBS CloudWatch event, such asfailedorsucceeded.Stringec2State()The state of the instance, such asSTOPPINGorTERMINATING.InstantendTime()The time when the observation ended, in epoch seconds.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhealthEventArn()The Amazon Resource Name (ARN) of the AWS Health Event-based observation.StringhealthEventDescription()The description of the AWS Health event provided by the service, such as Amazon EC2.StringhealthEventTypeCategory()The category of the AWS Health event, such asissue.StringhealthEventTypeCode()The type of the AWS Health event, for example,AWS_EC2_POWER_CONNECTIVITY_ISSUE.StringhealthService()The service to which the AWS Health Event belongs, such as EC2.Stringid()The ID of the observation type.InstantlineTime()The timestamp in the CloudWatch Logs that specifies when the matched line occurred.LogFilterlogFilter()The log filter of the observation.StringlogFilterAsString()The log filter of the observation.StringlogGroup()The log group name.StringlogText()The log text of the observation.StringmetricName()The name of the observation metric.StringmetricNamespace()The namespace of the observation metric.StringrdsEventCategories()The category of an RDS event.StringrdsEventMessage()The message of an RDS event.Strings3EventName()The name of the S3 CloudWatch Event-based observation.List<SdkField<?>>sdkFields()static Class<? extends Observation.Builder>serializableBuilderClass()StringsourceARN()The source resource ARN of the observation.StringsourceType()The source type of the observation.InstantstartTime()The time when the observation was first detected, in epoch seconds.StringstatesArn()The Amazon Resource Name (ARN) of the step function-based observation.StringstatesExecutionArn()The Amazon Resource Name (ARN) of the step function execution-based observation.StringstatesInput()The input to the step function-based observation.StringstatesStatus()The status of the step function-related observation.Observation.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringunit()The unit of the source observation metric.Doublevalue()The value of the source observation metric.IntegerxRayErrorPercent()The X-Ray request error percentage for this node.IntegerxRayFaultPercent()The X-Ray request fault percentage for this node.StringxRayNodeName()The name of the X-Ray node.StringxRayNodeType()The type of the X-Ray node.LongxRayRequestAverageLatency()The X-Ray node request average latency for this node.IntegerxRayRequestCount()The X-Ray request count for this node.IntegerxRayThrottlePercent()The X-Ray request throttle percentage for this node.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The ID of the observation type.
- Returns:
- The ID of the observation type.
-
startTime
public final Instant 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
public final Instant endTime()
The time when the observation ended, in epoch seconds.
- Returns:
- The time when the observation ended, in epoch seconds.
-
sourceType
public final String sourceType()
The source type of the observation.
- Returns:
- The source type of the observation.
-
sourceARN
public final String sourceARN()
The source resource ARN of the observation.
- Returns:
- The source resource ARN of the observation.
-
logGroup
public final String logGroup()
The log group name.
- Returns:
- The log group name.
-
lineTime
public final Instant 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
public final String logText()
The log text of the observation.
- Returns:
- The log text of the observation.
-
logFilter
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,
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:
LogFilter
-
logFilterAsString
public 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,
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:
LogFilter
-
metricNamespace
public final String metricNamespace()
The namespace of the observation metric.
- Returns:
- The namespace of the observation metric.
-
metricName
public final String metricName()
The name of the observation metric.
- Returns:
- The name of the observation metric.
-
unit
public final String unit()
The unit of the source observation metric.
- Returns:
- The unit of the source observation metric.
-
value
public final Double value()
The value of the source observation metric.
- Returns:
- The value of the source observation metric.
-
cloudWatchEventId
public final String 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
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,
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:
CloudWatchEventSource
-
cloudWatchEventSourceAsString
public 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,
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:
CloudWatchEventSource
-
cloudWatchEventDetailType
public final String 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
public final String 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
public final String 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
public final String 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
public final String healthEventTypeCategory()
The category of the AWS Health event, such as
issue.- Returns:
- The category of the AWS Health event, such as
issue.
-
healthEventDescription
public final String 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
public final String 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
public final String codeDeployDeploymentGroup()
The deployment group to which the CodeDeploy deployment belongs.
- Returns:
- The deployment group to which the CodeDeploy deployment belongs.
-
codeDeployState
public final String codeDeployState()
The status of the CodeDeploy deployment, for example
SUCCESSorFAILURE.- Returns:
- The status of the CodeDeploy deployment, for example
SUCCESSorFAILURE.
-
codeDeployApplication
public final String codeDeployApplication()
The CodeDeploy application to which the deployment belongs.
- Returns:
- The CodeDeploy application to which the deployment belongs.
-
codeDeployInstanceGroupId
public final String codeDeployInstanceGroupId()
The instance group to which the CodeDeploy instance belongs.
- Returns:
- The instance group to which the CodeDeploy instance belongs.
-
ec2State
public final String ec2State()
The state of the instance, such as
STOPPINGorTERMINATING.- Returns:
- The state of the instance, such as
STOPPINGorTERMINATING.
-
rdsEventCategories
public final String rdsEventCategories()
The category of an RDS event.
- Returns:
- The category of an RDS event.
-
rdsEventMessage
public final String rdsEventMessage()
The message of an RDS event.
- Returns:
- The message of an RDS event.
-
s3EventName
public final String s3EventName()
The name of the S3 CloudWatch Event-based observation.
- Returns:
- The name of the S3 CloudWatch Event-based observation.
-
statesExecutionArn
public final String 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
public final String 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
public final String statesStatus()
The status of the step function-related observation.
- Returns:
- The status of the step function-related observation.
-
statesInput
public final String statesInput()
The input to the step function-based observation.
- Returns:
- The input to the step function-based observation.
-
ebsEvent
public final String ebsEvent()
The type of EBS CloudWatch event, such as
createVolume,deleteVolumeorattachVolume.- Returns:
- The type of EBS CloudWatch event, such as
createVolume,deleteVolumeorattachVolume.
-
ebsResult
public final String ebsResult()
The result of an EBS CloudWatch event, such as
failedorsucceeded.- Returns:
- The result of an EBS CloudWatch event, such as
failedorsucceeded.
-
ebsCause
public final String ebsCause()
The cause of an EBS CloudWatch event.
- Returns:
- The cause of an EBS CloudWatch event.
-
ebsRequestId
public final String ebsRequestId()
The request ID of an EBS CloudWatch event.
- Returns:
- The request ID of an EBS CloudWatch event.
-
xRayFaultPercent
public final Integer xRayFaultPercent()
The X-Ray request fault percentage for this node.
- Returns:
- The X-Ray request fault percentage for this node.
-
xRayThrottlePercent
public final Integer xRayThrottlePercent()
The X-Ray request throttle percentage for this node.
- Returns:
- The X-Ray request throttle percentage for this node.
-
xRayErrorPercent
public final Integer xRayErrorPercent()
The X-Ray request error percentage for this node.
- Returns:
- The X-Ray request error percentage for this node.
-
xRayRequestCount
public final Integer xRayRequestCount()
The X-Ray request count for this node.
- Returns:
- The X-Ray request count for this node.
-
xRayRequestAverageLatency
public final Long xRayRequestAverageLatency()
The X-Ray node request average latency for this node.
- Returns:
- The X-Ray node request average latency for this node.
-
xRayNodeName
public final String xRayNodeName()
The name of the X-Ray node.
- Returns:
- The name of the X-Ray node.
-
xRayNodeType
public final String xRayNodeType()
The type of the X-Ray node.
- Returns:
- The type of the X-Ray node.
-
toBuilder
public Observation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Observation.Builder,Observation>
-
builder
public static Observation.Builder builder()
-
serializableBuilderClass
public static Class<? extends Observation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-