|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.support.model.Service
public class Service
JSON-formatted object that represents an AWS Service returned by the DescribeServices action.
Constructor Summary | |
---|---|
Service()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<Category> |
getCategories()
JSON-formatted list of categories that describe the type of support issue a case describes. |
String |
getCode()
JSON-formatted string that represents a code for an AWS service returned by DescribeServices response. |
String |
getName()
JSON-formatted string that represents the friendly name for an AWS service. |
int |
hashCode()
|
void |
setCategories(Collection<Category> categories)
JSON-formatted list of categories that describe the type of support issue a case describes. |
void |
setCode(String code)
JSON-formatted string that represents a code for an AWS service returned by DescribeServices response. |
void |
setName(String name)
JSON-formatted string that represents 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)
JSON-formatted list of categories that describe the type of support issue a case describes. |
Service |
withCategories(Collection<Category> categories)
JSON-formatted list of categories that describe the type of support issue a case describes. |
Service |
withCode(String code)
JSON-formatted string that represents a code for an AWS service returned by DescribeServices response. |
Service |
withName(String name)
JSON-formatted string that represents the friendly name for an AWS service. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Service()
Method Detail |
---|
public String getCode()
public void setCode(String code)
code
- JSON-formatted string that represents a code for an AWS service
returned by DescribeServices response. Has a
corrsponding name represented by a service.name string.public Service withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- JSON-formatted string that represents a code for an AWS service
returned by DescribeServices response. Has a
corrsponding name represented by a service.name string.
public String getName()
public void setName(String name)
name
- JSON-formatted string that represents the friendly name for an AWS
service. Has a corresponding code reprsented by a Service.code string.public Service withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- JSON-formatted string that represents the friendly name for an AWS
service. Has a corresponding code reprsented by a Service.code string.
public List<Category> getCategories()
public void setCategories(Collection<Category> categories)
categories
- JSON-formatted list of categories that describe the type of support
issue a case describes. Categories are strings that represent 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
- JSON-formatted list of categories that describe the type of support
issue a case describes. Categories are strings that represent 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
- JSON-formatted list of categories that describe the type of support
issue a case describes. Categories are strings that represent 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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |