@Generated(value="software.amazon.awssdk:codegen") public final class Severity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Severity.Builder,Severity>
Provides the numeric score and textual representation of a severity value.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Severity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Severity.Builder |
builder() |
SeverityDescription |
description()
The textual representation of the severity value, such as Low or High.
|
String |
descriptionAsString()
The textual representation of the severity value, such as Low or High.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
score()
The numeric score for the severity value, ranging from 0 (least severe) to 4 (most severe).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Severity.Builder> |
serializableBuilderClass() |
Severity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic SeverityDescription description()
The textual representation of the severity value, such as Low or High.
If the service returns an enum value that is not available in the current SDK version, description will
return SeverityDescription.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from descriptionAsString().
SeverityDescriptionpublic String descriptionAsString()
The textual representation of the severity value, such as Low or High.
If the service returns an enum value that is not available in the current SDK version, description will
return SeverityDescription.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from descriptionAsString().
SeverityDescriptionpublic Long score()
The numeric score for the severity value, ranging from 0 (least severe) to 4 (most severe).
public Severity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Severity.Builder,Severity>public static Severity.Builder builder()
public static Class<? extends Severity.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.