@Generated(value="software.amazon.awssdk:codegen") public final class CreateCaseRequest extends SupportRequest implements ToCopyableBuilder<CreateCaseRequest.Builder,CreateCaseRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateCaseRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
attachmentSetId()
The ID of a set of one or more attachments for the case.
|
static CreateCaseRequest.Builder |
builder() |
String |
categoryCode()
The category of problem for the AWS Support case.
|
List<String> |
ccEmailAddresses()
A list of email addresses that AWS Support copies on case correspondence.
|
String |
communicationBody()
The communication body text when you create an AWS Support case by calling CreateCase.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
issueType()
The type of issue for the case.
|
String |
language()
The ISO 639-1 code for the language in which AWS provides support.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCaseRequest.Builder> |
serializableBuilderClass() |
String |
serviceCode()
The code for the AWS service returned by the call to DescribeServices.
|
String |
severityCode()
The code for the severity level returned by the call to DescribeSeverityLevels.
|
String |
subject()
The title of the AWS Support case.
|
CreateCaseRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String subject()
The title of the AWS Support case.
public String serviceCode()
The code for the AWS service returned by the call to DescribeServices.
public String severityCode()
The 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.
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.
public String categoryCode()
The category of problem for the AWS Support case.
public String communicationBody()
The communication body text when you create an AWS Support case by calling CreateCase.
public List<String> ccEmailAddresses()
A list of email addresses that AWS Support copies on case correspondence.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String 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 issueType()
The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."
public String attachmentSetId()
The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
public CreateCaseRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateCaseRequest.Builder,CreateCaseRequest>
toBuilder
in class SupportRequest
public static CreateCaseRequest.Builder builder()
public static Class<? extends CreateCaseRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.