com.amazonaws.services.support.model
Class SeverityLevel

java.lang.Object
  extended by com.amazonaws.services.support.model.SeverityLevel
All Implemented Interfaces:
Serializable

public class SeverityLevel
extends Object
implements Serializable

A code and name pair that represent a severity level that can be applied to a support case.

See Also:
Serialized Form

Constructor Summary
SeverityLevel()
           
 
Method Summary
 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 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SeverityLevel

public SeverityLevel()
Method Detail

getCode

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.

Returns:
One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to the caller in SeverityLevel.name.

setCode

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.

Parameters:
code - One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to the caller in SeverityLevel.name.

withCode

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
code - One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to the caller in SeverityLevel.name.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The name of the severity level that corresponds to the severity level code.

Returns:
The name of the severity level that corresponds to the severity level code.

setName

public void setName(String name)
The name of the severity level that corresponds to the severity level code.

Parameters:
name - The name of the severity level that corresponds to the severity level code.

withName

public SeverityLevel withName(String name)
The name of the severity level that corresponds to the severity level code.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The name of the severity level that corresponds to the severity level code.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.