com.amazonaws.services.support.model

## クラス CreateCaseRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.support.model.CreateCaseRequest

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

      public class CreateCaseRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateCase operation`.

  Creates a new case in the AWS Support Center. This action is modeled on the behavior of the AWS Support Center Open a new case page. Its parameters require you to specify the following information:

  1. ServiceCode. Represents a code for an AWS service. You obtain the ServiceCode by calling DescribeServices .
  2. CategoryCode . Represents a category for the service defined for the ServiceCode value. You also obtain the cateogory code for a service by calling DescribeServices . Each AWS service defines its own set of category codes.
  3. SeverityCode . Represents a value that specifies the urgency of the case, and the time interval in which your service level agreement specifies a response from AWS Support. You obtain the SeverityCode by calling DescribeSeverityLevels .
  4. Subject . Represents the Subject field on the AWS Support Center Open a new case page.
  5. CommunicationBody . Represents the Description field on the AWS Support Center Open a new case page.
  6. Language . Specifies the human language in which AWS Support handles the case. The API currently supports English and Japanese.
  7. CcEmailAddresses . Represents the AWS Support Center CC field on the Open a new case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK .
  8. IssueType . Indicates the type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, this parameter defaults to "technical."

  NOTE:The AWS Support API does not currently support the ability to add attachments to cases. You can, however, call AddCommunicationToCase to add information to an open case.

  A successful CreateCase request returns an AWS Support case number. Case numbers are used by DescribeCases request to retrieve existing AWS Support support cases.

  関連項目:
    `AWSSupport.createCase(CreateCaseRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCategoryCode()` Specifies the category of problem for the AWS Support case.
    `java.util.List<java.lang.String>` | `getCcEmailAddresses()` List of email addresses that AWS Support copies on case correspondence.
    `java.lang.String` | `getCommunicationBody()` Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.
    `java.lang.String` | `getIssueType()` Field passed as a parameter in a CreateCase call.
    `java.lang.String` | `getLanguage()` Specifies the ISO 639-1 code for the language in which AWS provides support.
    `java.lang.String` | `getServiceCode()` Code for the AWS service returned by the call to DescribeServices.
    `java.lang.String` | `getSeverityCode()` Code for the severity level returned by the call to DescribeSeverityLevels.
    `java.lang.String` | `getSubject()` Title of the AWS Support case.
    `int` | `hashCode()`
    `void` | `setCategoryCode(java.lang.String categoryCode)` Specifies the category of problem for the AWS Support case.
    `void` | `setCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)` List of email addresses that AWS Support copies on case correspondence.
    `void` | `setCommunicationBody(java.lang.String communicationBody)` Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.
    `void` | `setIssueType(java.lang.String issueType)` Field passed as a parameter in a CreateCase call.
    `void` | `setLanguage(java.lang.String language)` Specifies the ISO 639-1 code for the language in which AWS provides support.
    `void` | `setServiceCode(java.lang.String serviceCode)` Code for the AWS service returned by the call to DescribeServices.
    `void` | `setSeverityCode(java.lang.String severityCode)` Code for the severity level returned by the call to DescribeSeverityLevels.
    `void` | `setSubject(java.lang.String subject)` Title of the AWS Support case.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateCaseRequest` | `withCategoryCode(java.lang.String categoryCode)` Specifies the category of problem for the AWS Support case.
    `CreateCaseRequest` | `withCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)` List of email addresses that AWS Support copies on case correspondence.
    `CreateCaseRequest` | `withCcEmailAddresses(java.lang.String... ccEmailAddresses)` List of email addresses that AWS Support copies on case correspondence.
    `CreateCaseRequest` | `withCommunicationBody(java.lang.String communicationBody)` Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.
    `CreateCaseRequest` | `withIssueType(java.lang.String issueType)` Field passed as a parameter in a CreateCase call.
    `CreateCaseRequest` | `withLanguage(java.lang.String language)` Specifies the ISO 639-1 code for the language in which AWS provides support.
    `CreateCaseRequest` | `withServiceCode(java.lang.String serviceCode)` Code for the AWS service returned by the call to DescribeServices.
    `CreateCaseRequest` | `withSeverityCode(java.lang.String severityCode)` Code for the severity level returned by the call to DescribeSeverityLevels.
    `CreateCaseRequest` | `withSubject(java.lang.String subject)` Title of the AWS Support case.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateCaseRequest

          public CreateCaseRequest()

  - ### メソッドの詳細

    - #### getSubject

          public java.lang.String getSubject()

      Title of the AWS Support case.
      戻り値:
        Title of the AWS Support case.

    - #### setSubject

          public void setSubject(java.lang.String subject)

      Title of the AWS Support case.
      パラメータ:
        `subject` - Title of the AWS Support case.

    - #### withSubject

          public CreateCaseRequest withSubject(java.lang.String subject)

      Title of the AWS Support case.

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

      パラメータ:
        `subject` - Title of the AWS Support case.

    - #### getServiceCode

          public java.lang.String getServiceCode()

      Code for the AWS service returned by the call to DescribeServices.

      Constraints:
      Pattern: [0-9a-z\-_]+

      戻り値:
        Code for the AWS service returned by the call to DescribeServices.

    - #### setServiceCode

          public void setServiceCode(java.lang.String serviceCode)

      Code for the AWS service returned by the call to DescribeServices.

      Constraints:
      Pattern: [0-9a-z\-_]+

      パラメータ:
        `serviceCode` - Code for the AWS service returned by the call to DescribeServices.

    - #### withServiceCode

          public CreateCaseRequest withServiceCode(java.lang.String serviceCode)

      Code for the AWS service returned by the call to DescribeServices.

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

      Constraints:
      Pattern: [0-9a-z\-_]+

      パラメータ:
        `serviceCode` - Code for the AWS service returned by the call to DescribeServices.

    - #### getSeverityCode

          public java.lang.String getSeverityCode()

      Code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
      戻り値:
        Code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.

    - #### setSeverityCode

          public void setSeverityCode(java.lang.String severityCode)

      Code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
      パラメータ:
        `severityCode` - Code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.

    - #### withSeverityCode

          public CreateCaseRequest withSeverityCode(java.lang.String severityCode)

      Code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.

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

      パラメータ:
        `severityCode` - Code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.

    - #### getCategoryCode

          public java.lang.String getCategoryCode()

      Specifies the category of problem for the AWS Support case.
      戻り値:
        Specifies the category of problem for the AWS Support case.

    - #### setCategoryCode

          public void setCategoryCode(java.lang.String categoryCode)

      Specifies the category of problem for the AWS Support case.
      パラメータ:
        `categoryCode` - Specifies the category of problem for the AWS Support case.

    - #### withCategoryCode

          public CreateCaseRequest withCategoryCode(java.lang.String categoryCode)

      Specifies the category of problem for the AWS Support case.

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

      パラメータ:
        `categoryCode` - Specifies the category of problem for the AWS Support case.

    - #### getCommunicationBody

          public java.lang.String getCommunicationBody()

      Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.

      Constraints:
      Length: 1 - 8000

      戻り値:
        Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.

    - #### setCommunicationBody

          public void setCommunicationBody(java.lang.String communicationBody)

      Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.

      Constraints:
      Length: 1 - 8000

      パラメータ:
        `communicationBody` - Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.

    - #### withCommunicationBody

          public CreateCaseRequest withCommunicationBody(java.lang.String communicationBody)

      Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.

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

      Constraints:
      Length: 1 - 8000

      パラメータ:
        `communicationBody` - Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase.

    - #### getCcEmailAddresses

          public java.util.List<java.lang.String> getCcEmailAddresses()

      List of email addresses that AWS Support copies on case correspondence.

      Constraints:
      Length: 0 - 10

      戻り値:
        List of email addresses that AWS Support copies on case correspondence.

    - #### setCcEmailAddresses

          public void setCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)

      List of email addresses that AWS Support copies on case correspondence.

      Constraints:
      Length: 0 - 10

      パラメータ:
        `ccEmailAddresses` - List of email addresses that AWS Support copies on case correspondence.

    - #### withCcEmailAddresses

          public CreateCaseRequest withCcEmailAddresses(java.lang.String... ccEmailAddresses)

      List of email addresses that AWS Support copies on case correspondence.

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

      Constraints:
      Length: 0 - 10

      パラメータ:
        `ccEmailAddresses` - List of email addresses that AWS Support copies on case correspondence.

    - #### withCcEmailAddresses

          public CreateCaseRequest withCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)

      List of email addresses that AWS Support copies on case correspondence.

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

      Constraints:
      Length: 0 - 10

      パラメータ:
        `ccEmailAddresses` - List of email addresses that AWS Support copies on case correspondence.

    - #### getLanguage

          public java.lang.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.
      戻り値:
        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(java.lang.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.
      パラメータ:
        `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 CreateCaseRequest withLanguage(java.lang.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.

      パラメータ:
        `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.

    - #### getIssueType

          public java.lang.String getIssueType()

      Field passed as a parameter in a CreateCase call.
      戻り値:
        Field passed as a parameter in a CreateCase call.

    - #### setIssueType

          public void setIssueType(java.lang.String issueType)

      Field passed as a parameter in a CreateCase call.
      パラメータ:
        `issueType` - Field passed as a parameter in a CreateCase call.

    - #### withIssueType

          public CreateCaseRequest withIssueType(java.lang.String issueType)

      Field passed as a parameter in a CreateCase call.

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

      パラメータ:
        `issueType` - Field passed as a parameter in a CreateCase call.

    - #### 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`