Class Problem
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Problem.Builder,Problem>
Describes a problem that is detected by correlating observations.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe AWS account ID for the owner of the resource group affected by the problem.final StringThe resource affected by the problem.static Problem.Builderbuilder()final InstantendTime()The time when the problem ended, in epoch seconds.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Map<FeedbackKey, FeedbackValue> feedback()Feedback provided by the user about the problem.Feedback provided by the user about the problem.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the Feedback property.final inthashCode()final Stringid()The ID of the problem.final Stringinsights()A detailed analysis of the problem using machine learning.final InstantThe last time that the problem reoccurred after its last resolution.final LongThe number of times that the same problem reoccurred after the first time it was resolved.final ResolutionMethodSpecifies how the problem was resolved.final StringSpecifies how the problem was resolved.final StringThe name of the resource group affected by the problem.static Class<? extends Problem.Builder> final SeverityLevelA measure of the level of impact of the problem.final StringA measure of the level of impact of the problem.final InstantThe time when the problem started, in epoch seconds.final Statusstatus()The status of the problem.final StringThe status of the problem.final Stringtitle()The name of the problem.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final VisibilitySpecifies whether or not you can view the problem.final StringSpecifies whether or not you can view the problem.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
-
title
-
insights
A detailed analysis of the problem using machine learning.
- Returns:
- A detailed analysis of the problem using machine learning.
-
status
The status of the problem.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the problem.
- See Also:
-
statusAsString
The status of the problem.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the problem.
- See Also:
-
affectedResource
The resource affected by the problem.
- Returns:
- The resource affected by the problem.
-
startTime
The time when the problem started, in epoch seconds.
- Returns:
- The time when the problem started, in epoch seconds.
-
endTime
The time when the problem ended, in epoch seconds.
- Returns:
- The time when the problem ended, in epoch seconds.
-
severityLevel
A measure of the level of impact of the problem.
If the service returns an enum value that is not available in the current SDK version,
severityLevelwill returnSeverityLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityLevelAsString().- Returns:
- A measure of the level of impact of the problem.
- See Also:
-
severityLevelAsString
A measure of the level of impact of the problem.
If the service returns an enum value that is not available in the current SDK version,
severityLevelwill returnSeverityLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityLevelAsString().- Returns:
- A measure of the level of impact of the problem.
- See Also:
-
accountId
The AWS account ID for the owner of the resource group affected by the problem.
- Returns:
- The AWS account ID for the owner of the resource group affected by the problem.
-
resourceGroupName
The name of the resource group affected by the problem.
- Returns:
- The name of the resource group affected by the problem.
-
feedback
Feedback provided by the user about the problem.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFeedback()method.- Returns:
- Feedback provided by the user about the problem.
-
hasFeedback
public final boolean hasFeedback()For responses, this returns true if the service returned a value for the Feedback property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
feedbackAsStrings
Feedback provided by the user about the problem.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFeedback()method.- Returns:
- Feedback provided by the user about the problem.
-
recurringCount
The number of times that the same problem reoccurred after the first time it was resolved.
- Returns:
- The number of times that the same problem reoccurred after the first time it was resolved.
-
lastRecurrenceTime
The last time that the problem reoccurred after its last resolution.
- Returns:
- The last time that the problem reoccurred after its last resolution.
-
visibility
Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
If the service returns an enum value that is not available in the current SDK version,
visibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvisibilityAsString().- Returns:
- Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
- See Also:
-
visibilityAsString
Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
If the service returns an enum value that is not available in the current SDK version,
visibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvisibilityAsString().- Returns:
- Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
- See Also:
-
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.If the service returns an enum value that is not available in the current SDK version,
resolutionMethodwill returnResolutionMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresolutionMethodAsString().- Returns:
- 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. - See Also:
-
resolutionMethodAsString
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.If the service returns an enum value that is not available in the current SDK version,
resolutionMethodwill returnResolutionMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresolutionMethodAsString().- Returns:
- 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. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Problem.Builder,Problem> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-