public class Service
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about an AWS service returned by the DescribeServices operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Category> |
categories
A list of categories that describe the type of support issue a case
describes.
|
private java.lang.String |
code
The code for an AWS service returned by the DescribeServices
response.
|
private java.lang.String |
name
The friendly name for an AWS service.
|
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Category> |
getCategories()
A list of categories that describe the type of support issue a case
describes.
|
java.lang.String |
getCode()
The code for an AWS service returned by the DescribeServices
response.
|
java.lang.String |
getName()
The friendly name for an AWS service.
|
int |
hashCode() |
void |
setCategories(java.util.Collection<Category> categories)
A list of categories that describe the type of support issue a case
describes.
|
void |
setCode(java.lang.String code)
The code for an AWS service returned by the DescribeServices
response.
|
void |
setName(java.lang.String name)
The friendly name for an AWS service.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Service |
withCategories(Category... categories)
A list of categories that describe the type of support issue a case
describes.
|
Service |
withCategories(java.util.Collection<Category> categories)
A list of categories that describe the type of support issue a case
describes.
|
Service |
withCode(java.lang.String code)
The code for an AWS service returned by the DescribeServices
response.
|
Service |
withName(java.lang.String name)
The friendly name for an AWS service.
|
private java.lang.String code
The code for an AWS service returned by the DescribeServices
response. The Name
element contains the corresponding
friendly name.
private java.lang.String name
The friendly name for an AWS service. The Code
element
contains the corresponding code.
private SdkInternalList<Category> 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.
public void setCode(java.lang.String code)
The code for an AWS service returned by the DescribeServices
response. The Name
element contains the corresponding
friendly name.
code
- The code for an AWS service returned by the
DescribeServices response. The Name
element
contains the corresponding friendly name.public java.lang.String getCode()
The code for an AWS service returned by the DescribeServices
response. The Name
element contains the corresponding
friendly name.
Name
element
contains the corresponding friendly name.public Service withCode(java.lang.String code)
The code for an AWS service returned by the DescribeServices
response. The Name
element contains the corresponding
friendly name.
code
- The code for an AWS service returned by the
DescribeServices response. The Name
element
contains the corresponding friendly name.public void setName(java.lang.String name)
The friendly name for an AWS service. The Code
element
contains the corresponding code.
name
- The friendly name for an AWS service. The Code
element contains the corresponding code.public java.lang.String getName()
The friendly name for an AWS service. The Code
element
contains the corresponding code.
Code
element contains the corresponding code.public Service withName(java.lang.String name)
The friendly name for an AWS service. The Code
element
contains the corresponding code.
name
- The friendly name for an AWS service. The Code
element contains the corresponding code.public java.util.List<Category> 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.
public void setCategories(java.util.Collection<Category> 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.
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.public Service withCategories(Category... 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.
NOTE: This method appends the values to the existing list (if
any). Use setCategories(java.util.Collection)
or
withCategories(java.util.Collection)
if you want to override the
existing values.
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.public Service withCategories(java.util.Collection<Category> 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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Service clone()
clone
in class java.lang.Object