com.amazonaws.services.support.model
Class Service

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

public class Service
extends Object
implements Serializable

Represents an AWS Service returned by the DescribeServices action.

See Also:
Serialized Form

Constructor Summary
Service()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Service

public Service()
Method Detail

getCode

public String getCode()
The code for an AWS service returned by DescribeServices response. Has a corresponding name represented by Service.name.

Returns:
The code for an AWS service returned by DescribeServices response. Has a corresponding name represented by Service.name.

setCode

public void setCode(String code)
The code for an AWS service returned by DescribeServices response. Has a corresponding name represented by Service.name.

Parameters:
code - The code for an AWS service returned by DescribeServices response. Has a corresponding name represented by Service.name.

withCode

public Service withCode(String code)
The code for an AWS service returned by DescribeServices response. Has a corresponding name represented by Service.name.

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

Parameters:
code - The code for an AWS service returned by DescribeServices response. Has a corresponding name represented by Service.name.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The friendly name for an AWS service. Has a corresponding code represented by Service.code.

Returns:
The friendly name for an AWS service. Has a corresponding code represented by Service.code.

setName

public void setName(String name)
The friendly name for an AWS service. Has a corresponding code represented by Service.code.

Parameters:
name - The friendly name for an AWS service. Has a corresponding code represented by Service.code.

withName

public Service withName(String name)
The friendly name for an AWS service. Has a corresponding code represented by Service.code.

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

Parameters:
name - The friendly name for an AWS service. Has a corresponding code represented by Service.code.
Returns:
A reference to this updated object so that method calls can be chained together.

getCategories

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 AWS Support when you call CreateCase.

Returns:
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.

setCategories

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 AWS Support when you call CreateCase.

Parameters:
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.

withCategories

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 AWS Support when you call CreateCase.

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

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

withCategories

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 AWS Support when you call CreateCase.

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

Parameters:
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.
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 © 2016. All rights reserved.