public class DescribeServicesRequest extends AmazonWebServiceRequest implements Serializable
DescribeServices operation
.
Returns the current list of AWS services and a list of service categories that applies to each one. You then use service names and categories in your CreateCase requests. Each AWS service has its own set of categories.
The service codes and category codes correspond to the values that are displayed in the Service and Category drop-down lists on the AWS
Support Center Open a new case page. The values in those fields, however, do not
necessarily match the service codes and categories returned by the DescribeServices
request. Always use the service codes and categories
obtained programmatically. This practice ensures that you always have the most recent set of service and category codes.
Constructor and Description |
---|
DescribeServicesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLanguage()
The ISO 639-1 code for the language in which AWS provides support.
|
List<String> |
getServiceCodeList()
A JSON-formatted list of service codes available for AWS services.
|
int |
hashCode() |
void |
setLanguage(String language)
The ISO 639-1 code for the language in which AWS provides support.
|
void |
setServiceCodeList(Collection<String> serviceCodeList)
A JSON-formatted list of service codes available for AWS services.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeServicesRequest |
withLanguage(String language)
The ISO 639-1 code for the language in which AWS provides support.
|
DescribeServicesRequest |
withServiceCodeList(Collection<String> serviceCodeList)
A JSON-formatted list of service codes available for AWS services.
|
DescribeServicesRequest |
withServiceCodeList(String... serviceCodeList)
A JSON-formatted list of service codes available for AWS services.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public List<String> getServiceCodeList()
Constraints:
Length: 0 - 100
public void setServiceCodeList(Collection<String> serviceCodeList)
Constraints:
Length: 0 - 100
serviceCodeList
- A JSON-formatted list of service codes available for AWS services.public DescribeServicesRequest withServiceCodeList(String... serviceCodeList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
serviceCodeList
- A JSON-formatted list of service codes available for AWS services.public DescribeServicesRequest withServiceCodeList(Collection<String> serviceCodeList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
serviceCodeList
- A JSON-formatted list of service codes available for AWS services.public String getLanguage()
public void setLanguage(String language)
language
- The ISO 639-1 code for the language in which AWS provides support. AWS
Support currently supports English ("en") and Japanese ("ja").
Language parameters must be passed explicitly for operations that take
them.public DescribeServicesRequest withLanguage(String language)
Returns a reference to this object so that method calls can be chained together.
language
- The ISO 639-1 code for the language in which AWS provides support. AWS
Support currently supports English ("en") and Japanese ("ja").
Language parameters must be passed explicitly for operations that take
them.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.