Interface Problem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Problem.Builder,Problem>,SdkBuilder<Problem.Builder,Problem>,SdkPojo
- Enclosing class:
- Problem
public static interface Problem.Builder extends SdkPojo, CopyableBuilder<Problem.Builder,Problem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Problem.BuilderaccountId(String accountId)The AWS account ID for the owner of the resource group affected by the problem.Problem.BuilderaffectedResource(String affectedResource)The resource affected by the problem.Problem.BuilderendTime(Instant endTime)The time when the problem ended, in epoch seconds.Problem.Builderfeedback(Map<FeedbackKey,FeedbackValue> feedback)Feedback provided by the user about the problem.Problem.BuilderfeedbackWithStrings(Map<String,String> feedback)Feedback provided by the user about the problem.Problem.Builderid(String id)The ID of the problem.Problem.Builderinsights(String insights)A detailed analysis of the problem using machine learning.Problem.BuilderlastRecurrenceTime(Instant lastRecurrenceTime)The last time that the problem reoccurred after its last resolution.Problem.BuilderrecurringCount(Long recurringCount)The number of times that the same problem reoccurred after the first time it was resolved.Problem.BuilderresolutionMethod(String resolutionMethod)Specifies how the problem was resolved.Problem.BuilderresolutionMethod(ResolutionMethod resolutionMethod)Specifies how the problem was resolved.Problem.BuilderresourceGroupName(String resourceGroupName)The name of the resource group affected by the problem.Problem.BuilderseverityLevel(String severityLevel)A measure of the level of impact of the problem.Problem.BuilderseverityLevel(SeverityLevel severityLevel)A measure of the level of impact of the problem.Problem.BuilderstartTime(Instant startTime)The time when the problem started, in epoch seconds.Problem.Builderstatus(String status)The status of the problem.Problem.Builderstatus(Status status)The status of the problem.Problem.Buildertitle(String title)The name of the problem.Problem.Buildervisibility(String visibility)Specifies whether or not you can view the problem.Problem.Buildervisibility(Visibility visibility)Specifies whether or not you can view the problem.-
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
Problem.Builder id(String id)
The ID of the problem.
- Parameters:
id- The ID of the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Problem.Builder title(String title)
The name of the problem.
- Parameters:
title- The name of the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
Problem.Builder insights(String insights)
A detailed analysis of the problem using machine learning.
- Parameters:
insights- A detailed analysis of the problem using machine learning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Problem.Builder status(String status)
The status of the problem.
-
status
Problem.Builder status(Status status)
The status of the problem.
-
affectedResource
Problem.Builder affectedResource(String affectedResource)
The resource affected by the problem.
- Parameters:
affectedResource- The resource affected by the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
Problem.Builder startTime(Instant startTime)
The time when the problem started, in epoch seconds.
- Parameters:
startTime- The time when the problem started, in epoch seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Problem.Builder endTime(Instant endTime)
The time when the problem ended, in epoch seconds.
- Parameters:
endTime- The time when the problem ended, in epoch seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityLevel
Problem.Builder severityLevel(String severityLevel)
A measure of the level of impact of the problem.
- Parameters:
severityLevel- A measure of the level of impact of the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SeverityLevel,SeverityLevel
-
severityLevel
Problem.Builder severityLevel(SeverityLevel severityLevel)
A measure of the level of impact of the problem.
- Parameters:
severityLevel- A measure of the level of impact of the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SeverityLevel,SeverityLevel
-
accountId
Problem.Builder accountId(String accountId)
The AWS account ID for the owner of the resource group affected by the problem.
- Parameters:
accountId- The AWS account ID for the owner of the resource group affected by the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceGroupName
Problem.Builder resourceGroupName(String resourceGroupName)
The name of the resource group affected by the problem.
- Parameters:
resourceGroupName- The name of the resource group affected by the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
feedbackWithStrings
Problem.Builder feedbackWithStrings(Map<String,String> feedback)
Feedback provided by the user about the problem.
- Parameters:
feedback- Feedback provided by the user about the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
feedback
Problem.Builder feedback(Map<FeedbackKey,FeedbackValue> feedback)
Feedback provided by the user about the problem.
- Parameters:
feedback- Feedback provided by the user about the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCount
Problem.Builder recurringCount(Long recurringCount)
The number of times that the same problem reoccurred after the first time it was resolved.
- Parameters:
recurringCount- The number of times that the same problem reoccurred after the first time it was resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRecurrenceTime
Problem.Builder lastRecurrenceTime(Instant lastRecurrenceTime)
The last time that the problem reoccurred after its last resolution.
- Parameters:
lastRecurrenceTime- The last time that the problem reoccurred after its last resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
visibility
Problem.Builder visibility(String visibility)
Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
- Parameters:
visibility- Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Visibility,Visibility
-
visibility
Problem.Builder visibility(Visibility visibility)
Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
- Parameters:
visibility- Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Visibility,Visibility
-
resolutionMethod
Problem.Builder resolutionMethod(String resolutionMethod)
Specifies how the problem was resolved. If the value is
AUTOMATIC, the system resolved the problem. If the value isMANUAL, the user resolved the problem. If the value isUNRESOLVED, then the problem is not resolved.- Parameters:
resolutionMethod- Specifies how the problem was resolved. If the value isAUTOMATIC, the system resolved the problem. If the value isMANUAL, the user resolved the problem. If the value isUNRESOLVED, then the problem is not resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolutionMethod,ResolutionMethod
-
resolutionMethod
Problem.Builder resolutionMethod(ResolutionMethod resolutionMethod)
Specifies how the problem was resolved. If the value is
AUTOMATIC, the system resolved the problem. If the value isMANUAL, the user resolved the problem. If the value isUNRESOLVED, then the problem is not resolved.- Parameters:
resolutionMethod- Specifies how the problem was resolved. If the value isAUTOMATIC, the system resolved the problem. If the value isMANUAL, the user resolved the problem. If the value isUNRESOLVED, then the problem is not resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolutionMethod,ResolutionMethod
-
-