@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SeverityLevel extends Object implements Serializable, Cloneable, StructuredPojo
A code and name pair that represent a severity level that can be applied to a support case.
Constructor and Description |
---|
SeverityLevel() |
Modifier and Type | Method and Description |
---|---|
SeverityLevel |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
One of four values: "low," "medium," "high," and "urgent".
|
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)
One of four values: "low," "medium," "high," and "urgent".
|
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; useful for testing and debugging.
|
SeverityLevel |
withCode(String code)
One of four values: "low," "medium," "high," and "urgent".
|
SeverityLevel |
withName(String name)
The name of the severity level that corresponds to the severity level code.
|
public void setCode(String code)
One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to
the caller in severityLevel.name
.
code
- One of four values: "low," "medium," "high," and "urgent". These values correspond to response times
returned to the caller in severityLevel.name
.public String getCode()
One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to
the caller in severityLevel.name
.
severityLevel.name
.public SeverityLevel withCode(String code)
One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to
the caller in severityLevel.name
.
code
- One of four values: "low," "medium," "high," and "urgent". These values correspond to response times
returned to the caller in severityLevel.name
.public void setName(String name)
The name of the severity level that corresponds to the severity level code.
name
- The name of the severity level that corresponds to the severity level code.public String getName()
The name of the severity level that corresponds to the severity level code.
public SeverityLevel withName(String name)
The name of the severity level that corresponds to the severity level code.
name
- The name of the severity level that corresponds to the severity level code.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.