@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Service extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon Web Services service returned by the DescribeServices operation.
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
boolean |
equals(Object obj) |
List<Category> |
getCategories()
A list of categories that describe the type of support issue a case describes.
|
String |
getCode()
The code for an Amazon Web Services service returned by the DescribeServices response.
|
String |
getName()
The friendly name for an Amazon Web Services service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCategories(Collection<Category> categories)
A list of categories that describe the type of support issue a case describes.
|
void |
setCode(String code)
The code for an Amazon Web Services service returned by the DescribeServices response.
|
void |
setName(String name)
The friendly name for an Amazon Web Services service.
|
String |
toString()
Returns a string representation of this object.
|
Service |
withCategories(Category... categories)
A list of categories that describe the type of support issue a case describes.
|
Service |
withCategories(Collection<Category> categories)
A list of categories that describe the type of support issue a case describes.
|
Service |
withCode(String code)
The code for an Amazon Web Services service returned by the DescribeServices response.
|
Service |
withName(String name)
The friendly name for an Amazon Web Services service.
|
public void setCode(String code)
The code for an Amazon Web Services service returned by the DescribeServices response. The
name
element contains the corresponding friendly name.
code
- The code for an Amazon Web Services service returned by the DescribeServices response. The
name
element contains the corresponding friendly name.public String getCode()
The code for an Amazon Web Services service returned by the DescribeServices response. The
name
element contains the corresponding friendly name.
name
element contains the corresponding friendly name.public Service withCode(String code)
The code for an Amazon Web Services service returned by the DescribeServices response. The
name
element contains the corresponding friendly name.
code
- The code for an Amazon Web Services service returned by the DescribeServices response. The
name
element contains the corresponding friendly name.public void setName(String name)
The friendly name for an Amazon Web Services service. The code
element contains the corresponding
code.
name
- The friendly name for an Amazon Web Services service. The code
element contains the
corresponding code.public String getName()
The friendly name for an Amazon Web Services service. The code
element contains the corresponding
code.
code
element contains the
corresponding code.public Service withName(String name)
The friendly name for an Amazon Web Services service. The code
element contains the corresponding
code.
name
- The friendly name for an Amazon Web Services service. The code
element contains the
corresponding code.public 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 Amazon Web Services Support when you call CreateCase.
public void setCategories(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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services Support when
you call CreateCase.public Service withCategories(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 Amazon Web Services 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 Amazon Web Services Support when
you call CreateCase.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.