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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Observation.BuildercloudWatchEventDetailType(String cloudWatchEventDetailType)The detail type of the CloudWatch Event-based observation, for example,EC2 Instance State-change Notification.Observation.BuildercloudWatchEventId(String cloudWatchEventId)The ID of the CloudWatch Event-based observation related to the detected problem.Observation.BuildercloudWatchEventSource(String cloudWatchEventSource)The source of the CloudWatch Event.Observation.BuildercloudWatchEventSource(CloudWatchEventSource cloudWatchEventSource)The source of the CloudWatch Event.Observation.BuildercodeDeployApplication(String codeDeployApplication)The CodeDeploy application to which the deployment belongs.Observation.BuildercodeDeployDeploymentGroup(String codeDeployDeploymentGroup)The deployment group to which the CodeDeploy deployment belongs.Observation.BuildercodeDeployDeploymentId(String codeDeployDeploymentId)The deployment ID of the CodeDeploy-based observation related to the detected problem.Observation.BuildercodeDeployInstanceGroupId(String codeDeployInstanceGroupId)The instance group to which the CodeDeploy instance belongs.Observation.BuildercodeDeployState(String codeDeployState)The status of the CodeDeploy deployment, for exampleSUCCESSorFAILURE.Observation.BuilderebsCause(String ebsCause)The cause of an EBS CloudWatch event.Observation.BuilderebsEvent(String ebsEvent)The type of EBS CloudWatch event, such ascreateVolume,deleteVolumeorattachVolume.Observation.BuilderebsRequestId(String ebsRequestId)The request ID of an EBS CloudWatch event.Observation.BuilderebsResult(String ebsResult)The result of an EBS CloudWatch event, such asfailedorsucceeded.Observation.Builderec2State(String ec2State)The state of the instance, such asSTOPPINGorTERMINATING.Observation.BuilderendTime(Instant endTime)The time when the observation ended, in epoch seconds.Observation.BuilderhealthEventArn(String healthEventArn)The Amazon Resource Name (ARN) of the AWS Health Event-based observation.Observation.BuilderhealthEventDescription(String healthEventDescription)The description of the AWS Health event provided by the service, such as Amazon EC2.Observation.BuilderhealthEventTypeCategory(String healthEventTypeCategory)The category of the AWS Health event, such asissue.Observation.BuilderhealthEventTypeCode(String healthEventTypeCode)The type of the AWS Health event, for example,AWS_EC2_POWER_CONNECTIVITY_ISSUE.Observation.BuilderhealthService(String healthService)The service to which the AWS Health Event belongs, such as EC2.Observation.Builderid(String id)The ID of the observation type.Observation.BuilderlineTime(Instant lineTime)The timestamp in the CloudWatch Logs that specifies when the matched line occurred.Observation.BuilderlogFilter(String logFilter)The log filter of the observation.Observation.BuilderlogFilter(LogFilter logFilter)The log filter of the observation.Observation.BuilderlogGroup(String logGroup)The log group name.Observation.BuilderlogText(String logText)The log text of the observation.Observation.BuildermetricName(String metricName)The name of the observation metric.Observation.BuildermetricNamespace(String metricNamespace)The namespace of the observation metric.Observation.BuilderrdsEventCategories(String rdsEventCategories)The category of an RDS event.Observation.BuilderrdsEventMessage(String rdsEventMessage)The message of an RDS event.Observation.Builders3EventName(String s3EventName)The name of the S3 CloudWatch Event-based observation.Observation.BuildersourceARN(String sourceARN)The source resource ARN of the observation.Observation.BuildersourceType(String sourceType)The source type of the observation.Observation.BuilderstartTime(Instant startTime)The time when the observation was first detected, in epoch seconds.Observation.BuilderstatesArn(String statesArn)The Amazon Resource Name (ARN) of the step function-based observation.Observation.BuilderstatesExecutionArn(String statesExecutionArn)The Amazon Resource Name (ARN) of the step function execution-based observation.Observation.BuilderstatesInput(String statesInput)The input to the step function-based observation.Observation.BuilderstatesStatus(String statesStatus)The status of the step function-related observation.Observation.Builderunit(String unit)The unit of the source observation metric.Observation.Buildervalue(Double value)The value of the source observation metric.Observation.BuilderxRayErrorPercent(Integer xRayErrorPercent)The X-Ray request error percentage for this node.Observation.BuilderxRayFaultPercent(Integer xRayFaultPercent)The X-Ray request fault percentage for this node.Observation.BuilderxRayNodeName(String xRayNodeName)The name of the X-Ray node.Observation.BuilderxRayNodeType(String xRayNodeType)The type of the X-Ray node.Observation.BuilderxRayRequestAverageLatency(Long xRayRequestAverageLatency)The X-Ray node request average latency for this node.Observation.BuilderxRayRequestCount(Integer xRayRequestCount)The X-Ray request count for this node.Observation.BuilderxRayThrottlePercent(Integer xRayThrottlePercent)The X-Ray request throttle percentage for this node.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
Observation.Builder id(String 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.
-
logFilter
Observation.Builder logFilter(LogFilter logFilter)
The log filter of the observation.
-
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
Observation.Builder unit(String 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
Observation.Builder value(Double 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,CloudWatchEventSource
-
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:
CloudWatchEventSource,CloudWatchEventSource
-
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 asissue.- 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
SUCCESSorFAILURE.- Parameters:
codeDeployState- The status of the CodeDeploy deployment, for exampleSUCCESSorFAILURE.- 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
STOPPINGorTERMINATING.- Parameters:
ec2State- The state of the instance, such asSTOPPINGorTERMINATING.- 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,deleteVolumeorattachVolume.- Parameters:
ebsEvent- The type of EBS CloudWatch event, such ascreateVolume,deleteVolumeorattachVolume.- 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
failedorsucceeded.- Parameters:
ebsResult- The result of an EBS CloudWatch event, such asfailedorsucceeded.- 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.
-
-