Did this page help you?

   Yes   No   Tell us about it...

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

JSON-formatted name/value pair that represents the name and category of 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()
          Category code for the support case.
 String getName()
          Category name for the support case.
 int hashCode()
           
 void setCode(String code)
          Category code for the support case.
 void setName(String name)
          Category name for the support case.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Category withCode(String code)
          Category code for the support case.
 Category withName(String name)
          Category name for the support case.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Category

public Category()
Method Detail

getCode

public String getCode()
Category code for the support case.

Returns:
Category code for the support case.

setCode

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

Parameters:
code - Category code for the support case.

withCode

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

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

Parameters:
code - 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()
Category name for the support case.

Returns:
Category name for the support case.

setName

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

Parameters:
name - Category name for the support case.

withName

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

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

Parameters:
name - 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.