Interface AnomalyInstance.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<AnomalyInstance.Builder,,AnomalyInstance> SdkBuilder<AnomalyInstance.Builder,,AnomalyInstance> SdkPojo
- Enclosing class:
 AnomalyInstance
- 
Method Summary
Modifier and TypeMethodDescriptionThe end time of the period during which the metric is flagged as anomalous.The universally unique identifier (UUID) of an instance of an anomaly in a metric.The start time of the period during which the metric is flagged as anomalous.default AnomalyInstance.BuilderuserFeedback(Consumer<UserFeedback.Builder> userFeedback) Feedback type on a specific instance of anomaly submitted by the user.userFeedback(UserFeedback userFeedback) Feedback type on a specific instance of anomaly submitted by the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
endTime
The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
- Parameters:
 endTime- The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
id
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
- Parameters:
 id- The universally unique identifier (UUID) of an instance of an anomaly in a metric.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
startTime
The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
- Parameters:
 startTime- The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
userFeedback
Feedback type on a specific instance of anomaly submitted by the user.
- Parameters:
 userFeedback- Feedback type on a specific instance of anomaly submitted by the user.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
userFeedback
Feedback type on a specific instance of anomaly submitted by the user.
This is a convenience method that creates an instance of theUserFeedback.Builderavoiding the need to create one manually viaUserFeedback.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserFeedback(UserFeedback).- Parameters:
 userFeedback- a consumer that will call methods onUserFeedback.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -