Interface UploadMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UploadMetadata.Builder,UploadMetadata>,SdkBuilder<UploadMetadata.Builder,UploadMetadata>,SdkPojo
- Enclosing class:
- UploadMetadata
public static interface UploadMetadata.Builder extends SdkPojo, CopyableBuilder<UploadMetadata.Builder,UploadMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UploadMetadata.BuilderheadersToInclude(Map<String,String> headersToInclude)The headers to be provided while uploading the file to the URL.UploadMetadata.Builderurl(String url)This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.UploadMetadata.BuilderurlExpiry(String urlExpiry)The expiration time of the URL in ISO timestamp.-
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, sdkFields
-
-
-
-
Method Detail
-
url
UploadMetadata.Builder url(String url)
This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
- Parameters:
url- This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlExpiry
UploadMetadata.Builder urlExpiry(String urlExpiry)
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
- Parameters:
urlExpiry- The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headersToInclude
UploadMetadata.Builder headersToInclude(Map<String,String> headersToInclude)
The headers to be provided while uploading the file to the URL.
- Parameters:
headersToInclude- The headers to be provided while uploading the file to the URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-