@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)
contentLength - public Long getContentLength()
public S3ObjectMetadata withContentLength(Long contentLength)
contentLength - public void setContentMD5(String contentMD5)
contentMD5 - public String getContentMD5()
public S3ObjectMetadata withContentMD5(String contentMD5)
contentMD5 - 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)
requesterCharged - public Boolean getRequesterCharged()
public S3ObjectMetadata withRequesterCharged(Boolean requesterCharged)
requesterCharged - public Boolean isRequesterCharged()
public void setSSEAlgorithm(String sSEAlgorithm)
sSEAlgorithm - S3SSEAlgorithmpublic String getSSEAlgorithm()
S3SSEAlgorithmpublic S3ObjectMetadata withSSEAlgorithm(String sSEAlgorithm)
sSEAlgorithm - S3SSEAlgorithmpublic S3ObjectMetadata withSSEAlgorithm(S3SSEAlgorithm sSEAlgorithm)
sSEAlgorithm - S3SSEAlgorithmpublic String toString()
toString in class ObjectObject.toString()public S3ObjectMetadata clone()