@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 String id()
The ID of the problem.
public String title()
The name of the problem.
public String insights()
A detailed analysis of the problem using machine learning.
public 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 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 String affectedResource()
The resource affected by the problem.
public Instant startTime()
The time when the problem started, in epoch seconds.
public Instant endTime()
The time when the problem ended, in epoch seconds.
public 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 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 String resourceGroupName()
The name of the resource group affected by the problem.
public 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 boolean hasFeedback()
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.