Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.support.model
Class DescribeServicesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.support.model.DescribeServicesRequest
All Implemented Interfaces:
Serializable

public class DescribeServicesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AWSSupport.describeServices(DescribeServicesRequest), Serialized Form

Constructor Summary
DescribeServicesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getLanguage()
          Specifies the ISO 639-1 code for the language in which AWS provides support.
 List<String> getServiceCodeList()
          List in JSON format of service codes available for AWS services.
 int hashCode()
           
 void setLanguage(String language)
          Specifies the ISO 639-1 code for the language in which AWS provides support.
 void setServiceCodeList(Collection<String> serviceCodeList)
          List in JSON format 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)
          Specifies the ISO 639-1 code for the language in which AWS provides support.
 DescribeServicesRequest withServiceCodeList(Collection<String> serviceCodeList)
          List in JSON format of service codes available for AWS services.
 DescribeServicesRequest withServiceCodeList(String... serviceCodeList)
          List in JSON format of service codes available for AWS services.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeServicesRequest

public DescribeServicesRequest()
Method Detail

getServiceCodeList

public List<String> getServiceCodeList()
List in JSON format of service codes available for AWS services.

Constraints:
Length: 0 - 100

Returns:
List in JSON format of service codes available for AWS services.

setServiceCodeList

public void setServiceCodeList(Collection<String> serviceCodeList)
List in JSON format of service codes available for AWS services.

Constraints:
Length: 0 - 100

Parameters:
serviceCodeList - List in JSON format of service codes available for AWS services.

withServiceCodeList

public DescribeServicesRequest withServiceCodeList(String... serviceCodeList)
List in JSON format of service codes available for AWS services.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 100

Parameters:
serviceCodeList - List in JSON format of service codes available for AWS services.
Returns:
A reference to this updated object so that method calls can be chained together.

withServiceCodeList

public DescribeServicesRequest withServiceCodeList(Collection<String> serviceCodeList)
List in JSON format of service codes available for AWS services.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 100

Parameters:
serviceCodeList - List in JSON format of service codes available for AWS services.
Returns:
A reference to this updated object so that method calls can be chained together.

getLanguage

public String getLanguage()
Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

Returns:
Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

setLanguage

public void setLanguage(String language)
Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

Parameters:
language - Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

withLanguage

public DescribeServicesRequest withLanguage(String language)
Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

Returns a reference to this object so that method calls can be chained together.

Parameters:
language - Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.