Interface S3ObjectMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3ObjectMetadata.Builder,
,S3ObjectMetadata> SdkBuilder<S3ObjectMetadata.Builder,
,S3ObjectMetadata> SdkPojo
- Enclosing class:
S3ObjectMetadata
-
Method Summary
Modifier and TypeMethodDescriptioncacheControl
(String cacheControl) contentDisposition
(String contentDisposition) contentEncoding
(String contentEncoding) contentLanguage
(String contentLanguage) contentLength
(Long contentLength) This member has been deprecated.contentMD5
(String contentMD5) This member has been deprecated.contentType
(String contentType) httpExpiresDate
(Instant httpExpiresDate) requesterCharged
(Boolean requesterCharged) This member has been deprecated.sseAlgorithm
(String sseAlgorithm) The server-side encryption algorithm used when storing objects in Amazon S3.sseAlgorithm
(S3SSEAlgorithm sseAlgorithm) The server-side encryption algorithm used when storing objects in Amazon S3.userMetadata
(Map<String, String> userMetadata) 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
-
Method Details
-
cacheControl
- Parameters:
cacheControl
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentDisposition
- Parameters:
contentDisposition
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentEncoding
- Parameters:
contentEncoding
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLanguage
- Parameters:
contentLanguage
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userMetadata
- Parameters:
userMetadata
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLength
This member has been deprecated.
- Parameters:
contentLength
- This member has been deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentMD5
This member has been deprecated.
- Parameters:
contentMD5
- This member has been deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
- Parameters:
contentType
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpExpiresDate
- Parameters:
httpExpiresDate
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterCharged
This member has been deprecated.
- Parameters:
requesterCharged
- This member has been deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseAlgorithm
The server-side encryption algorithm used when storing objects in Amazon S3.
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256
) and server-side encryption with KMS keys (SSE-KMS) (KMS
). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.- Parameters:
sseAlgorithm
- The server-side encryption algorithm used when storing objects in Amazon S3.Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256
) and server-side encryption with KMS keys (SSE-KMS) (KMS
). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sseAlgorithm
The server-side encryption algorithm used when storing objects in Amazon S3.
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256
) and server-side encryption with KMS keys (SSE-KMS) (KMS
). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.- Parameters:
sseAlgorithm
- The server-side encryption algorithm used when storing objects in Amazon S3.Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256
) and server-side encryption with KMS keys (SSE-KMS) (KMS
). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-