Interface AddCommunicationToCaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddCommunicationToCaseRequest.Builder,,AddCommunicationToCaseRequest> SdkBuilder<AddCommunicationToCaseRequest.Builder,,AddCommunicationToCaseRequest> SdkPojo,SdkRequest.Builder,SupportRequest.Builder
- Enclosing class:
AddCommunicationToCaseRequest
-
Method Summary
Modifier and TypeMethodDescriptionattachmentSetId(String attachmentSetId) The ID of a set of one or more attachments for the communication to add to the case.The support case ID requested or returned in the call.ccEmailAddresses(String... ccEmailAddresses) The email addresses in the CC line of an email to be added to the support case.ccEmailAddresses(Collection<String> ccEmailAddresses) The email addresses in the CC line of an email to be added to the support case.communicationBody(String communicationBody) The body of an email communication to add to the support case.Specifies whether to validate the request without actually adding the communication to the case.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of upload IDs that identify attachments to add to the case.uploadIds(Collection<String> uploadIds) A list of upload IDs that identify attachments to add to the case.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.support.model.SupportRequest.Builder
build
-
Method Details
-
caseId
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-exen-2025-c4c1d2bf33c5cf47
- Parameters:
caseId- The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-exen-2025-c4c1d2bf33c5cf47- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communicationBody
The body of an email communication to add to the support case.
- Parameters:
communicationBody- The body of an email communication to add to the support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ccEmailAddresses
The email addresses in the CC line of an email to be added to the support case.
- Parameters:
ccEmailAddresses- The email addresses in the CC line of an email to be added to the support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ccEmailAddresses
The email addresses in the CC line of an email to be added to the support case.
- Parameters:
ccEmailAddresses- The email addresses in the CC line of an email to be added to the support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentSetId
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet. Each attachment in the set must be 5 MB or smaller. To attach files larger than 5 MB, use
uploadIds.- Parameters:
attachmentSetId- The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet. Each attachment in the set must be 5 MB or smaller. To attach files larger than 5 MB, useuploadIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadIds
A list of upload IDs that identify attachments to add to the case. Each
uploadIdis returned by the GetAttachmentUploadLinks operation. The upload must reach theattachment-readystate by calling CompleteAttachmentUpload before it can be passed here. UseuploadIdsto attach files of any supported size, including files larger than 5 MB.- Parameters:
uploadIds- A list of upload IDs that identify attachments to add to the case. EachuploadIdis returned by the GetAttachmentUploadLinks operation. The upload must reach theattachment-readystate by calling CompleteAttachmentUpload before it can be passed here. UseuploadIdsto attach files of any supported size, including files larger than 5 MB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadIds
A list of upload IDs that identify attachments to add to the case. Each
uploadIdis returned by the GetAttachmentUploadLinks operation. The upload must reach theattachment-readystate by calling CompleteAttachmentUpload before it can be passed here. UseuploadIdsto attach files of any supported size, including files larger than 5 MB.- Parameters:
uploadIds- A list of upload IDs that identify attachments to add to the case. EachuploadIdis returned by the GetAttachmentUploadLinks operation. The upload must reach theattachment-readystate by calling CompleteAttachmentUpload before it can be passed here. UseuploadIdsto attach files of any supported size, including files larger than 5 MB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Specifies whether to validate the request without actually adding the communication to the case. When set to
true, the request is validated but the communication isn't added, and the operation returns aDryRunOperationException. When omitted or set tofalse, the request runs normally.- Parameters:
dryRun- Specifies whether to validate the request without actually adding the communication to the case. When set totrue, the request is validated but the communication isn't added, and the operation returns aDryRunOperationException. When omitted or set tofalse, the request runs normally.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddCommunicationToCaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddCommunicationToCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-