Class Service
- All Implemented Interfaces:
Serializable
,Cloneable
Information about an AWS service returned by the DescribeServices operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of categories that describe the type of support issue a case describes.getCode()
The code for an AWS service returned by the DescribeServices response.getName()
The friendly name for an AWS service.int
hashCode()
void
setCategories
(Collection<Category> categories) A list of categories that describe the type of support issue a case describes.void
The code for an AWS service returned by the DescribeServices response.void
The friendly name for an AWS service.toString()
Returns a string representation of this object; useful for testing and debugging.withCategories
(Category... categories) A list of categories that describe the type of support issue a case describes.withCategories
(Collection<Category> categories) A list of categories that describe the type of support issue a case describes.The code for an AWS service returned by the DescribeServices response.The friendly name for an AWS service.
-
Constructor Details
-
Service
public Service()
-
-
Method Details
-
setCode
The code for an AWS service returned by the DescribeServices response. The
Name
element contains the corresponding friendly name.- Parameters:
code
- The code for an AWS service returned by the DescribeServices response. TheName
element contains the corresponding friendly name.
-
getCode
The code for an AWS service returned by the DescribeServices response. The
Name
element contains the corresponding friendly name.- Returns:
- The code for an AWS service returned by the
DescribeServices response. The
Name
element contains the corresponding friendly name.
-
withCode
The code for an AWS service returned by the DescribeServices response. The
Name
element contains the corresponding friendly name.- Parameters:
code
- The code for an AWS service returned by the DescribeServices response. TheName
element contains the corresponding friendly name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The friendly name for an AWS service. The
Code
element contains the corresponding code.- Parameters:
name
- The friendly name for an AWS service. TheCode
element contains the corresponding code.
-
getName
The friendly name for an AWS service. The
Code
element contains the corresponding code.- Returns:
- The friendly name for an AWS service. The
Code
element contains the corresponding code.
-
withName
The friendly name for an AWS service. The
Code
element contains the corresponding code.- Parameters:
name
- The friendly name for an AWS service. TheCode
element contains the corresponding code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCategories
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
- Returns:
- A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
-
setCategories
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
- Parameters:
categories
- A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
-
withCategories
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
NOTE: This method appends the values to the existing list (if any). Use
setCategories(java.util.Collection)
orwithCategories(java.util.Collection)
if you want to override the existing values.- Parameters:
categories
- A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCategories
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
- Parameters:
categories
- A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-