com.amazonaws.services.support.model
Class Category

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

public class Category
extends Object
implements Serializable

A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each AWS service.

See Also:
Serialized Form

Constructor Summary
Category()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCode()
          The category code for the support case.
 String getName()
          The category name for the support case.
 int hashCode()
           
 void setCode(String code)
          The category code for the support case.
 void setName(String name)
          The category name for the support case.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Category withCode(String code)
          The category code for the support case.
 Category withName(String name)
          The category name for the support case.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Category

public Category()
Method Detail

getCode

public String getCode()
The category code for the support case.

Returns:
The category code for the support case.

setCode

public void setCode(String code)
The category code for the support case.

Parameters:
code - The category code for the support case.

withCode

public Category withCode(String code)
The category code for the support case.

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

Parameters:
code - The category code for the support case.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The category name for the support case.

Returns:
The category name for the support case.

setName

public void setName(String name)
The category name for the support case.

Parameters:
name - The category name for the support case.

withName

public Category withName(String name)
The category name for the support case.

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

Parameters:
name - The category name for the support case.
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.