com.amazonaws.services.support.model

## クラス Service

- java.lang.Object
- - com.amazonaws.services.support.model.Service

- すべての実装されたインタフェース:
    java.io.Serializable

      public class Service
      extends java.lang.Object
      implements java.io.Serializable

  JSON-formatted object that represents an AWS Service returned by the DescribeServices action.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `Service()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Category>` | `getCategories()` JSON-formatted list of categories that describe the type of support issue a case describes.
    `java.lang.String` | `getCode()` JSON-formatted string that represents a code for an AWS service returned by DescribeServices response.
    `java.lang.String` | `getName()` JSON-formatted string that represents the friendly name for an AWS service.
    `int` | `hashCode()`
    `void` | `setCategories(java.util.Collection<Category> categories)` JSON-formatted list of categories that describe the type of support issue a case describes.
    `void` | `setCode(java.lang.String code)` JSON-formatted string that represents a code for an AWS service returned by DescribeServices response.
    `void` | `setName(java.lang.String name)` JSON-formatted string that represents the friendly name for an AWS service.
    `java.lang.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(java.util.Collection<Category> categories)` JSON-formatted list of categories that describe the type of support issue a case describes.
    `Service` | `withCode(java.lang.String code)` JSON-formatted string that represents a code for an AWS service returned by DescribeServices response.
    `Service` | `withName(java.lang.String name)` JSON-formatted string that represents the friendly name for an AWS service.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### Service

          public Service()

  - ### メソッドの詳細

    - #### getCode

          public java.lang.String getCode()

      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.
      戻り値:
        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.

    - #### setCode

          public void setCode(java.lang.String 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.
      パラメータ:
        `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.

    - #### withCode

          public Service withCode(java.lang.String 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.

      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.

    - #### getName

          public java.lang.String getName()

      JSON-formatted string that represents the friendly name for an AWS service. Has a corresponding code reprsented by a Service.code string.
      戻り値:
        JSON-formatted string that represents the friendly name for an AWS service. Has a corresponding code reprsented by a Service.code string.

    - #### setName

          public void setName(java.lang.String name)

      JSON-formatted string that represents the friendly name for an AWS service. Has a corresponding code reprsented by a Service.code string.
      パラメータ:
        `name` - JSON-formatted string that represents the friendly name for an AWS service. Has a corresponding code reprsented by a Service.code string.

    - #### withName

          public Service withName(java.lang.String name)

      JSON-formatted string that represents the friendly name for an AWS service. Has a corresponding code reprsented by a Service.code string.

      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.

    - #### getCategories

          public java.util.List<Category> getCategories()

      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.
      戻り値:
        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.

    - #### setCategories

          public void setCategories(java.util.Collection<Category> 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.
      パラメータ:
        `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.

    - #### withCategories

          public Service withCategories(Category... 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.

      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.

    - #### withCategories

          public Service withCategories(java.util.Collection<Category> 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.

      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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`