@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SeverityLevel extends Object implements Serializable, Cloneable, StructuredPojo
A code and name pair that represents the severity level of a support case. The available values depend on the support plan for the account. For more information, see Choosing a severity in the Amazon Web Services Support User Guide.
Constructor and Description |
---|
SeverityLevel() |
Modifier and Type | Method and Description |
---|---|
SeverityLevel |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The code for case severity level.
|
String |
getName()
The name of the severity level that corresponds to the severity level code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The code for case severity level.
|
void |
setName(String name)
The name of the severity level that corresponds to the severity level code.
|
String |
toString()
Returns a string representation of this object.
|
SeverityLevel |
withCode(String code)
The code for case severity level.
|
SeverityLevel |
withName(String name)
The name of the severity level that corresponds to the severity level code.
|
public void setCode(String code)
The code for case severity level.
Valid values: low
| normal
| high
| urgent
|
critical
code
- The code for case severity level.
Valid values: low
| normal
| high
| urgent
|
critical
public String getCode()
The code for case severity level.
Valid values: low
| normal
| high
| urgent
|
critical
Valid values: low
| normal
| high
| urgent
|
critical
public SeverityLevel withCode(String code)
The code for case severity level.
Valid values: low
| normal
| high
| urgent
|
critical
code
- The code for case severity level.
Valid values: low
| normal
| high
| urgent
|
critical
public void setName(String name)
The name of the severity level that corresponds to the severity level code.
The values returned by the API are different from the values that appear in the Amazon Web Services Support
Center. For example, the API uses the code low
, but the name appears as General guidance in Support
Center.
The following are the API code names and how they appear in the console:
low
- General guidance
normal
- System impaired
high
- Production system impaired
urgent
- Production system down
critical
- Business-critical system down
For more information, see Choosing a severity in the Amazon Web Services Support User Guide.
name
- The name of the severity level that corresponds to the severity level code.
The values returned by the API are different from the values that appear in the Amazon Web Services
Support Center. For example, the API uses the code low
, but the name appears as General
guidance in Support Center.
The following are the API code names and how they appear in the console:
low
- General guidance
normal
- System impaired
high
- Production system impaired
urgent
- Production system down
critical
- Business-critical system down
For more information, see Choosing a severity in the Amazon Web Services Support User Guide.
public String getName()
The name of the severity level that corresponds to the severity level code.
The values returned by the API are different from the values that appear in the Amazon Web Services Support
Center. For example, the API uses the code low
, but the name appears as General guidance in Support
Center.
The following are the API code names and how they appear in the console:
low
- General guidance
normal
- System impaired
high
- Production system impaired
urgent
- Production system down
critical
- Business-critical system down
For more information, see Choosing a severity in the Amazon Web Services Support User Guide.
The values returned by the API are different from the values that appear in the Amazon Web Services
Support Center. For example, the API uses the code low
, but the name appears as General
guidance in Support Center.
The following are the API code names and how they appear in the console:
low
- General guidance
normal
- System impaired
high
- Production system impaired
urgent
- Production system down
critical
- Business-critical system down
For more information, see Choosing a severity in the Amazon Web Services Support User Guide.
public SeverityLevel withName(String name)
The name of the severity level that corresponds to the severity level code.
The values returned by the API are different from the values that appear in the Amazon Web Services Support
Center. For example, the API uses the code low
, but the name appears as General guidance in Support
Center.
The following are the API code names and how they appear in the console:
low
- General guidance
normal
- System impaired
high
- Production system impaired
urgent
- Production system down
critical
- Business-critical system down
For more information, see Choosing a severity in the Amazon Web Services Support User Guide.
name
- The name of the severity level that corresponds to the severity level code.
The values returned by the API are different from the values that appear in the Amazon Web Services
Support Center. For example, the API uses the code low
, but the name appears as General
guidance in Support Center.
The following are the API code names and how they appear in the console:
low
- General guidance
normal
- System impaired
high
- Production system impaired
urgent
- Production system down
critical
- Business-critical system down
For more information, see Choosing a severity in the Amazon Web Services Support User Guide.
public String toString()
toString
in class Object
Object.toString()
public SeverityLevel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.