Interface Observation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Observation.Builder,Observation>, SdkBuilder<Observation.Builder,Observation>, SdkPojo
Enclosing class:
Observation

public static interface Observation.Builder extends SdkPojo, CopyableBuilder<Observation.Builder,Observation>
  • Method Details

    • id

      The ID of the observation type.

      Parameters:
      id - The ID of the observation type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      Observation.Builder startTime(Instant startTime)

      The time when the observation was first detected, in epoch seconds.

      Parameters:
      startTime - The time when the observation was first detected, in epoch seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      Observation.Builder endTime(Instant endTime)

      The time when the observation ended, in epoch seconds.

      Parameters:
      endTime - The time when the observation ended, in epoch seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceType

      Observation.Builder sourceType(String sourceType)

      The source type of the observation.

      Parameters:
      sourceType - The source type of the observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceARN

      Observation.Builder sourceARN(String sourceARN)

      The source resource ARN of the observation.

      Parameters:
      sourceARN - The source resource ARN of the observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroup

      Observation.Builder logGroup(String logGroup)

      The log group name.

      Parameters:
      logGroup - The log group name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineTime

      Observation.Builder lineTime(Instant lineTime)

      The timestamp in the CloudWatch Logs that specifies when the matched line occurred.

      Parameters:
      lineTime - The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logText

      Observation.Builder logText(String logText)

      The log text of the observation.

      Parameters:
      logText - The log text of the observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logFilter

      Observation.Builder logFilter(String logFilter)

      The log filter of the observation.

      Parameters:
      logFilter - The log filter of the observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logFilter

      Observation.Builder logFilter(LogFilter logFilter)

      The log filter of the observation.

      Parameters:
      logFilter - The log filter of the observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metricNamespace

      Observation.Builder metricNamespace(String metricNamespace)

      The namespace of the observation metric.

      Parameters:
      metricNamespace - The namespace of the observation metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricName

      Observation.Builder metricName(String metricName)

      The name of the observation metric.

      Parameters:
      metricName - The name of the observation metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unit

      The unit of the source observation metric.

      Parameters:
      unit - The unit of the source observation metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value of the source observation metric.

      Parameters:
      value - The value of the source observation metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchEventId

      Observation.Builder cloudWatchEventId(String cloudWatchEventId)

      The ID of the CloudWatch Event-based observation related to the detected problem.

      Parameters:
      cloudWatchEventId - The ID of the CloudWatch Event-based observation related to the detected problem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchEventSource

      Observation.Builder cloudWatchEventSource(String cloudWatchEventSource)

      The source of the CloudWatch Event.

      Parameters:
      cloudWatchEventSource - The source of the CloudWatch Event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudWatchEventSource

      Observation.Builder cloudWatchEventSource(CloudWatchEventSource cloudWatchEventSource)

      The source of the CloudWatch Event.

      Parameters:
      cloudWatchEventSource - The source of the CloudWatch Event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudWatchEventDetailType

      Observation.Builder cloudWatchEventDetailType(String cloudWatchEventDetailType)

      The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.

      Parameters:
      cloudWatchEventDetailType - The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthEventArn

      Observation.Builder healthEventArn(String healthEventArn)

      The Amazon Resource Name (ARN) of the AWS Health Event-based observation.

      Parameters:
      healthEventArn - The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthService

      Observation.Builder healthService(String healthService)

      The service to which the AWS Health Event belongs, such as EC2.

      Parameters:
      healthService - The service to which the AWS Health Event belongs, such as EC2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthEventTypeCode

      Observation.Builder healthEventTypeCode(String healthEventTypeCode)

      The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.

      Parameters:
      healthEventTypeCode - The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthEventTypeCategory

      Observation.Builder healthEventTypeCategory(String healthEventTypeCategory)

      The category of the AWS Health event, such as issue.

      Parameters:
      healthEventTypeCategory - The category of the AWS Health event, such as issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthEventDescription

      Observation.Builder healthEventDescription(String healthEventDescription)

      The description of the AWS Health event provided by the service, such as Amazon EC2.

      Parameters:
      healthEventDescription - The description of the AWS Health event provided by the service, such as Amazon EC2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeDeployDeploymentId

      Observation.Builder codeDeployDeploymentId(String codeDeployDeploymentId)

      The deployment ID of the CodeDeploy-based observation related to the detected problem.

      Parameters:
      codeDeployDeploymentId - The deployment ID of the CodeDeploy-based observation related to the detected problem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeDeployDeploymentGroup

      Observation.Builder codeDeployDeploymentGroup(String codeDeployDeploymentGroup)

      The deployment group to which the CodeDeploy deployment belongs.

      Parameters:
      codeDeployDeploymentGroup - The deployment group to which the CodeDeploy deployment belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeDeployState

      Observation.Builder codeDeployState(String codeDeployState)

      The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.

      Parameters:
      codeDeployState - The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeDeployApplication

      Observation.Builder codeDeployApplication(String codeDeployApplication)

      The CodeDeploy application to which the deployment belongs.

      Parameters:
      codeDeployApplication - The CodeDeploy application to which the deployment belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeDeployInstanceGroupId

      Observation.Builder codeDeployInstanceGroupId(String codeDeployInstanceGroupId)

      The instance group to which the CodeDeploy instance belongs.

      Parameters:
      codeDeployInstanceGroupId - The instance group to which the CodeDeploy instance belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2State

      Observation.Builder ec2State(String ec2State)

      The state of the instance, such as STOPPING or TERMINATING.

      Parameters:
      ec2State - The state of the instance, such as STOPPING or TERMINATING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rdsEventCategories

      Observation.Builder rdsEventCategories(String rdsEventCategories)

      The category of an RDS event.

      Parameters:
      rdsEventCategories - The category of an RDS event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rdsEventMessage

      Observation.Builder rdsEventMessage(String rdsEventMessage)

      The message of an RDS event.

      Parameters:
      rdsEventMessage - The message of an RDS event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3EventName

      Observation.Builder s3EventName(String s3EventName)

      The name of the S3 CloudWatch Event-based observation.

      Parameters:
      s3EventName - The name of the S3 CloudWatch Event-based observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statesExecutionArn

      Observation.Builder statesExecutionArn(String statesExecutionArn)

      The Amazon Resource Name (ARN) of the step function execution-based observation.

      Parameters:
      statesExecutionArn - The Amazon Resource Name (ARN) of the step function execution-based observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statesArn

      Observation.Builder statesArn(String statesArn)

      The Amazon Resource Name (ARN) of the step function-based observation.

      Parameters:
      statesArn - The Amazon Resource Name (ARN) of the step function-based observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statesStatus

      Observation.Builder statesStatus(String statesStatus)

      The status of the step function-related observation.

      Parameters:
      statesStatus - The status of the step function-related observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statesInput

      Observation.Builder statesInput(String statesInput)

      The input to the step function-based observation.

      Parameters:
      statesInput - The input to the step function-based observation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ebsEvent

      Observation.Builder ebsEvent(String ebsEvent)

      The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.

      Parameters:
      ebsEvent - The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ebsResult

      Observation.Builder ebsResult(String ebsResult)

      The result of an EBS CloudWatch event, such as failed or succeeded.

      Parameters:
      ebsResult - The result of an EBS CloudWatch event, such as failed or succeeded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ebsCause

      Observation.Builder ebsCause(String ebsCause)

      The cause of an EBS CloudWatch event.

      Parameters:
      ebsCause - The cause of an EBS CloudWatch event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ebsRequestId

      Observation.Builder ebsRequestId(String ebsRequestId)

      The request ID of an EBS CloudWatch event.

      Parameters:
      ebsRequestId - The request ID of an EBS CloudWatch event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • xRayFaultPercent

      Observation.Builder xRayFaultPercent(Integer xRayFaultPercent)

      The X-Ray request fault percentage for this node.

      Parameters:
      xRayFaultPercent - The X-Ray request fault percentage for this node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • xRayThrottlePercent

      Observation.Builder xRayThrottlePercent(Integer xRayThrottlePercent)

      The X-Ray request throttle percentage for this node.

      Parameters:
      xRayThrottlePercent - The X-Ray request throttle percentage for this node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • xRayErrorPercent

      Observation.Builder xRayErrorPercent(Integer xRayErrorPercent)

      The X-Ray request error percentage for this node.

      Parameters:
      xRayErrorPercent - The X-Ray request error percentage for this node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • xRayRequestCount

      Observation.Builder xRayRequestCount(Integer xRayRequestCount)

      The X-Ray request count for this node.

      Parameters:
      xRayRequestCount - The X-Ray request count for this node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • xRayRequestAverageLatency

      Observation.Builder xRayRequestAverageLatency(Long xRayRequestAverageLatency)

      The X-Ray node request average latency for this node.

      Parameters:
      xRayRequestAverageLatency - The X-Ray node request average latency for this node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • xRayNodeName

      Observation.Builder xRayNodeName(String xRayNodeName)

      The name of the X-Ray node.

      Parameters:
      xRayNodeName - The name of the X-Ray node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • xRayNodeType

      Observation.Builder xRayNodeType(String xRayNodeType)

      The type of the X-Ray node.

      Parameters:
      xRayNodeType - The type of the X-Ray node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.