Interface GetCaseAttachmentUploadUrlRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetCaseAttachmentUploadUrlRequest.Builder,
,GetCaseAttachmentUploadUrlRequest> SdkBuilder<GetCaseAttachmentUploadUrlRequest.Builder,
,GetCaseAttachmentUploadUrlRequest> SdkPojo
,SdkRequest.Builder
,SecurityIrRequest.Builder
- Enclosing class:
GetCaseAttachmentUploadUrlRequest
-
Method Summary
Modifier and TypeMethodDescriptionRequired element for GetCaseAttachmentUploadUrl to identify the case ID for uploading an attachment.clientToken
(String clientToken) contentLength
(Long contentLength) Required element for GetCaseAttachmentUploadUrl to identify the size of the file attachment.Required element for GetCaseAttachmentUploadUrl to identify the file name of the attachment to upload.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.securityir.model.SecurityIrRequest.Builder
build
-
Method Details
-
caseId
Required element for GetCaseAttachmentUploadUrl to identify the case ID for uploading an attachment.
- Parameters:
caseId
- Required element for GetCaseAttachmentUploadUrl to identify the case ID for uploading an attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileName
Required element for GetCaseAttachmentUploadUrl to identify the file name of the attachment to upload.
- Parameters:
fileName
- Required element for GetCaseAttachmentUploadUrl to identify the file name of the attachment to upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLength
Required element for GetCaseAttachmentUploadUrl to identify the size of the file attachment.
- Parameters:
contentLength
- Required element for GetCaseAttachmentUploadUrl to identify the size of the file attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The
clientToken
field is an idempotency key used to ensure that repeated attempts for a single action will be ignored by the server during retries. A caller supplied unique ID (typically a UUID) should be provided.- Parameters:
clientToken
-The
clientToken
field is an idempotency key used to ensure that repeated attempts for a single action will be ignored by the server during retries. A caller supplied unique ID (typically a UUID) should be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCaseAttachmentUploadUrlRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetCaseAttachmentUploadUrlRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-