public class Service extends Object implements Serializable
Represents an AWS Service returned by the DescribeServices action.
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
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 AWS service returned by DescribeServices
response.
|
String |
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 |
setCode(String code)
The code for an AWS service returned by DescribeServices
response.
|
void |
setName(String name)
The friendly name for an AWS service.
|
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(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 AWS service returned by DescribeServices
response.
|
Service |
withName(String name)
The friendly name for an AWS service.
|
public String getCode()
public void setCode(String code)
code
- The code for an AWS service returned by DescribeServices
response. Has a corresponding name represented by Service.name.public Service withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- The code for an AWS service returned by DescribeServices
response. Has a corresponding name represented by Service.name.public String getName()
public void setName(String name)
name
- The friendly name for an AWS service. Has a corresponding code
represented by Service.code.public Service withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The friendly name for an AWS service. Has a corresponding code
represented by Service.code.public List<Category> getCategories()
public void setCategories(Collection<Category> categories)
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)
Returns a reference to this object so that method calls can be chained together.
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(Collection<Category> categories)
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.