@Generated(value="software.amazon.awssdk:codegen") public final class Problem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Problem.Builder,Problem>
Describes a problem that is detected by correlating observations.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Problem.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
affectedResource()
The resource affected by the problem.
|
static Problem.Builder |
builder() |
Instant |
endTime()
The time when the problem ended, in epoch seconds.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Map<FeedbackKey,FeedbackValue> |
feedback()
Feedback provided by the user about the problem.
|
Map<String,String> |
feedbackAsStrings()
Feedback provided by the user about the problem.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFeedback()
Returns true if the Feedback property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
id()
The ID of the problem.
|
String |
insights()
A detailed analysis of the problem using machine learning.
|
String |
resourceGroupName()
The name of the resource group affected by the problem.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Problem.Builder> |
serializableBuilderClass() |
SeverityLevel |
severityLevel()
A measure of the level of impact of the problem.
|
String |
severityLevelAsString()
A measure of the level of impact of the problem.
|
Instant |
startTime()
The time when the problem started, in epoch seconds.
|
Status |
status()
The status of the problem.
|
String |
statusAsString()
The status of the problem.
|
String |
title()
The name of the problem.
|
Problem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the problem.
public final String title()
The name of the problem.
public final String insights()
A detailed analysis of the problem using machine learning.
public final Status status()
The status of the problem.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Statuspublic final String statusAsString()
The status of the problem.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Statuspublic final String affectedResource()
The resource affected by the problem.
public final Instant startTime()
The time when the problem started, in epoch seconds.
public final Instant endTime()
The time when the problem ended, in epoch seconds.
public final SeverityLevel 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, severityLevel
will return SeverityLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
severityLevelAsString().
SeverityLevelpublic final String 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, severityLevel
will return SeverityLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
severityLevelAsString().
SeverityLevelpublic final String resourceGroupName()
The name of the resource group affected by the problem.
public final Map<FeedbackKey,FeedbackValue> feedback()
Feedback provided by the user about the problem.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFeedback() to see if a value was sent in this field.
public final boolean hasFeedback()
public final Map<String,String> feedbackAsStrings()
Feedback provided by the user about the problem.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFeedback() to see if a value was sent in this field.
public Problem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Problem.Builder,Problem>public static Problem.Builder builder()
public static Class<? extends Problem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.