Class Category

java.lang.Object
com.amazonaws.services.support.model.Category
All Implemented Interfaces:
Serializable, Cloneable

public class Category extends Object implements Serializable, Cloneable

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:
  • Constructor Details

    • Category

      public Category()
  • Method Details

    • setCode

      public void setCode(String code)

      The category code for the support case.

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

      public String getCode()

      The category code for the support case.

      Returns:
      The category code for the support case.
    • withCode

      public Category withCode(String code)

      The category code for the support case.

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

      public void setName(String name)

      The category name for the support case.

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

      public String getName()

      The category name for the support case.

      Returns:
      The category name for the support case.
    • withName

      public Category withName(String name)

      The category name for the support case.

      Parameters:
      name - The category name for the support case.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Category clone()
      Overrides:
      clone in class Object