Interface S3ObjectMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3ObjectMetadata.Builder,S3ObjectMetadata>,SdkBuilder<S3ObjectMetadata.Builder,S3ObjectMetadata>,SdkPojo
- Enclosing class:
- S3ObjectMetadata
public static interface S3ObjectMetadata.Builder extends SdkPojo, CopyableBuilder<S3ObjectMetadata.Builder,S3ObjectMetadata>
-
-
Method Summary
-
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 Detail
-
cacheControl
S3ObjectMetadata.Builder cacheControl(String cacheControl)
- Parameters:
cacheControl-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentDisposition
S3ObjectMetadata.Builder contentDisposition(String contentDisposition)
- Parameters:
contentDisposition-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentEncoding
S3ObjectMetadata.Builder contentEncoding(String contentEncoding)
- Parameters:
contentEncoding-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLanguage
S3ObjectMetadata.Builder contentLanguage(String contentLanguage)
- Parameters:
contentLanguage-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userMetadata
S3ObjectMetadata.Builder userMetadata(Map<String,String> userMetadata)
- Parameters:
userMetadata-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLength
S3ObjectMetadata.Builder contentLength(Long 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
S3ObjectMetadata.Builder contentMD5(String 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
S3ObjectMetadata.Builder contentType(String contentType)
- Parameters:
contentType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpExpiresDate
S3ObjectMetadata.Builder httpExpiresDate(Instant httpExpiresDate)
- Parameters:
httpExpiresDate-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterCharged
S3ObjectMetadata.Builder requesterCharged(Boolean 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
S3ObjectMetadata.Builder sseAlgorithm(String 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:
S3SSEAlgorithm,S3SSEAlgorithm
-
sseAlgorithm
S3ObjectMetadata.Builder sseAlgorithm(S3SSEAlgorithm 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:
S3SSEAlgorithm,S3SSEAlgorithm
-
-