@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3ObjectMetadata extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
S3ObjectMetadata() |
public void setCacheControl(String cacheControl)
cacheControl - public String getCacheControl()
public S3ObjectMetadata withCacheControl(String cacheControl)
cacheControl - public void setContentDisposition(String contentDisposition)
contentDisposition - public String getContentDisposition()
public S3ObjectMetadata withContentDisposition(String contentDisposition)
contentDisposition - public void setContentEncoding(String contentEncoding)
contentEncoding - public String getContentEncoding()
public S3ObjectMetadata withContentEncoding(String contentEncoding)
contentEncoding - public void setContentLanguage(String contentLanguage)
contentLanguage - public String getContentLanguage()
public S3ObjectMetadata withContentLanguage(String contentLanguage)
contentLanguage - public void setUserMetadata(Map<String,String> userMetadata)
userMetadata - public S3ObjectMetadata withUserMetadata(Map<String,String> userMetadata)
userMetadata - public S3ObjectMetadata addUserMetadataEntry(String key, String value)
public S3ObjectMetadata clearUserMetadataEntries()
public void setContentLength(Long contentLength)
This member has been deprecated.
contentLength - This member has been deprecated.
public Long getContentLength()
This member has been deprecated.
public S3ObjectMetadata withContentLength(Long contentLength)
This member has been deprecated.
contentLength - This member has been deprecated.
public void setContentMD5(String contentMD5)
This member has been deprecated.
contentMD5 - This member has been deprecated.
public String getContentMD5()
This member has been deprecated.
public S3ObjectMetadata withContentMD5(String contentMD5)
This member has been deprecated.
contentMD5 - This member has been deprecated.
public void setContentType(String contentType)
contentType - public String getContentType()
public S3ObjectMetadata withContentType(String contentType)
contentType - public void setHttpExpiresDate(Date httpExpiresDate)
httpExpiresDate - public Date getHttpExpiresDate()
public S3ObjectMetadata withHttpExpiresDate(Date httpExpiresDate)
httpExpiresDate - public void setRequesterCharged(Boolean requesterCharged)
This member has been deprecated.
requesterCharged - This member has been deprecated.
public Boolean getRequesterCharged()
This member has been deprecated.
public S3ObjectMetadata withRequesterCharged(Boolean requesterCharged)
This member has been deprecated.
requesterCharged - This member has been deprecated.
public Boolean isRequesterCharged()
This member has been deprecated.
public void setSSEAlgorithm(String sSEAlgorithm)
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256)
is supported.
sSEAlgorithm -
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256) is supported.
S3SSEAlgorithmpublic String getSSEAlgorithm()
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256)
is supported.
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256) is supported.
S3SSEAlgorithmpublic S3ObjectMetadata withSSEAlgorithm(String sSEAlgorithm)
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256)
is supported.
sSEAlgorithm -
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256) is supported.
S3SSEAlgorithmpublic S3ObjectMetadata withSSEAlgorithm(S3SSEAlgorithm sSEAlgorithm)
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256)
is supported.
sSEAlgorithm -
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256) is supported.
S3SSEAlgorithmpublic String toString()
toString in class ObjectObject.toString()public S3ObjectMetadata clone()