public class WriteGetObjectResponseRequest extends AmazonWebServiceRequest implements Serializable, S3DataSource
S3DataSource.Utils
NOOP
Constructor and Description |
---|
WriteGetObjectResponseRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAcceptRanges()
Indicates that a range of bytes was specified.
|
Boolean |
getBucketKeyEnabled()
Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side encryption with Amazon Web
Services KMS (SSE-KMS).
|
String |
getCacheControl()
The caching behavior along the request/reply chain.
|
String |
getContentDisposition()
The presentational information for the object.
|
String |
getContentEncoding()
What content encodings have been applied to the object and thus what decoding mechanisms must be
applied to obtain the media-type referenced by the Content-Type header field.
|
String |
getContentLanguage()
The language the content is in.
|
Long |
getContentLength()
The size of the body in bytes.
|
String |
getContentRange()
The portion of the object returned in the response.
|
String |
getContentType()
The standard MIME type describing the format of the object data.
|
String |
getDeleteMarker()
Whether an object stored in Amazon S3 is (
true ) or is not (false ) a delete
marker. |
String |
getErrorCode()
A string that uniquely identifies an error condition.
|
String |
getErrorMessage()
A generic description of the error condition.
|
String |
getETag()
An opaque identifier assigned by a web server to a specific version of a resource found at a URL.
|
String |
getExpiration()
If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header.
|
Date |
getExpires()
The date and time at which the object is no longer cacheable.
|
File |
getFile() |
InputStream |
getInputStream() |
Date |
getLastModified()
The date and time the object was last modified.
|
ObjectMetadata |
getMetadata()
A map of metadata to store with the object in S3.
|
Integer |
getMissingMeta()
The number of metadata entries not returned in
x-amz-meta headers. |
String |
getObjectLockLegalHoldStatus()
Whether an object stored in Amazon S3 has an active legal hold.
|
String |
getObjectLockMode()
Whether an object stored in Amazon S3 has Object Lock enabled.
|
Date |
getObjectLockRetainUntilDate()
The date and time when Object Lock is configured to expire.
|
Integer |
getPartsCount()
The count of parts this object has.
|
String |
getReplicationStatus()
If request involves bucket that is either a source or destination in a Replication rule.
|
String |
getRequestCharged()
The value of the RequestCharged property for this object.
|
String |
getRequestRoute()
The route prefix to the HTTP URL generated.
|
String |
getRequestToken()
A single use encrypted token that maps
WriteGetObjectResponse to the end user GetObject
request. |
String |
getRestore()
Information about object restoration operation and expiration time of the restored object copy.
|
String |
getServerSideEncryption()
The server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256,
aws:kms).
|
String |
getSSECustomerAlgorithm()
The algorithm used if server-side encryption with a customer-provided encryption key was specified for
object stored in Amazon S3.
|
String |
getSSECustomerKeyMD5()
The 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data stored in S3.
|
String |
getSSEKMSKeyId()
If present, specifies the ID of the Amazon Web Services Key Management Service (KMS) symmetric customer managed customer
master key (CMK) that was used for stored in Amazon S3 object.
|
Integer |
getStatusCode()
The integer status code for an HTTP response of a corresponding
GetObject request. |
String |
getStorageClass()
The class of storage used to store object in Amazon S3.
|
Integer |
getTagCount()
The number of tags, if any, on the object.
|
String |
getVersionId()
An ID used to reference a specific version of the object.
|
int |
hashCode() |
void |
setAcceptRanges(String acceptRanges)
Indicate that a range of bytes was specified.
|
void |
setBucketKeyEnabled(Boolean bucketKeyEnabled)
Indicate whether the object stored in Amazon S3 uses an S3 bucket key for server-side encryption with Amazon Web
Services KMS (SSE-KMS).
|
void |
setCacheControl(String cacheControl)
Specify caching behavior along the request/reply chain.
|
void |
setContentDisposition(String contentDisposition)
Specify presentational information for the object.
|
void |
setContentEncoding(String contentEncoding)
Specify what content encodings have been applied to the object and thus what decoding mechanisms must be
applied to obtain the media-type referenced by the Content-Type header field.
|
void |
setContentLanguage(String contentLanguage)
Set the language the content is in..
|
void |
setContentLength(Long contentLength)
Set the size of the body in bytes.
|
void |
setContentRange(String contentRange)
Set the portion of the object returned in the response.
|
void |
setContentType(String contentType)
Set the standard MIME type describing the format of the object data.
|
void |
setDeleteMarker(String deleteMarker)
Set whether an object stored in Amazon S3 is (
true ) or is not (false ) a delete
marker. |
void |
setErrorCode(String errorCode)
Set a string that uniquely identifies an error condition.
|
void |
setErrorMessage(String errorMessage)
Set a generic description of the error condition.
|
void |
setETag(String eTag)
Set an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
|
void |
setExpiration(String expiration)
If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header.
|
void |
setExpires(Date expires)
Set the date and time at which the object is no longer cacheable.
|
void |
setFile(File file) |
void |
setInputStream(InputStream inputStream) |
void |
setLastModified(Date lastModified)
Set the date and time the object was last modified.
|
void |
setMetadata(ObjectMetadata metadata)
Set a map of metadata to store with the object in S3.
|
void |
setMissingMeta(Integer missingMeta)
Set the number of metadata entries not returned in
x-amz-meta headers. |
void |
setObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
Set whether an object stored in Amazon S3 has an active legal hold.
|
void |
setObjectLockLegalHoldStatus(String objectLockLegalHoldStatus)
Set whether an object stored in Amazon S3 has an active legal hold.
|
void |
setObjectLockMode(ObjectLockMode objectLockMode)
Set whether an object stored in Amazon S3 has Object Lock enabled.
|
void |
setObjectLockMode(String objectLockMode)
Set whether an object stored in Amazon S3 has Object Lock enabled.
|
void |
setObjectLockRetainUntilDate(Date objectLockRetainUntilDate)
Set the date and time when Object Lock is configured to expire.
|
void |
setPartsCount(Integer partsCount)
Set the count of parts this object has.
|
void |
setReplicationStatus(String replicationStatus)
Set if request involves bucket that is either a source or destination in a Replication rule.
|
void |
setRequestCharged(String requestCharged)
Set the value of the RequestCharged property for this object.
|
void |
setRequestRoute(String requestRoute)
Set the route prefix to the HTTP URL generated.
|
void |
setRequestToken(String requestToken)
Set a single use encrypted token that maps
WriteGetObjectResponse to the end user GetObject
request. |
void |
setRestore(String restore)
Set information about object restoration operation and expiration time of the restored object copy.
|
void |
setServerSideEncryption(String serverSideEncryption)
Set the server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256,
aws:kms).
|
void |
setSSECustomerAlgorithm(String sSECustomerAlgorithm)
Set the algorithm used if server-side encryption with a customer-provided encryption key was specified for
object stored in Amazon S3.
|
void |
setSSECustomerKeyMD5(String sSECustomerKeyMD5)
Set the 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data stored in S3.
|
void |
setSSEKMSKeyId(String sSEKMSKeyId)
Specify the ID of the Amazon Web Services Key Management Service (KMS) symmetric customer managed customer
master key (CMK) that was used for stored in Amazon S3 object.
|
void |
setStatusCode(Integer statusCode)
Set the integer status code for an HTTP response of a corresponding
GetObject request. |
void |
setStorageClass(StorageClass storageClass)
Set the class of storage used to store object in Amazon S3.
|
void |
setStorageClass(String storageClass)
Set the class of storage used to store object in Amazon S3.
|
void |
setTagCount(Integer tagCount)
Set the number of tags, if any, on the object.
|
void |
setVersionId(String versionId)
Set an ID used to reference a specific version of the object.
|
WriteGetObjectResponseRequest |
withAcceptRanges(String acceptRanges)
Indicate that a range of bytes was specified.
|
WriteGetObjectResponseRequest |
withBucketKeyEnabled(Boolean bucketKeyEnabled)
Indicate whether the object stored in Amazon S3 uses an S3 bucket key for server-side encryption with Amazon Web
Services KMS (SSE-KMS).
|
WriteGetObjectResponseRequest |
withCacheControl(String cacheControl)
Specify caching behavior along the request/reply chain.
|
WriteGetObjectResponseRequest |
withContentDisposition(String contentDisposition)
Specify presentational information for the object.
|
WriteGetObjectResponseRequest |
withContentEncoding(String contentEncoding)
Specify what content encodings have been applied to the object and thus what decoding mechanisms must be
applied to obtain the media-type referenced by the Content-Type header field.
|
WriteGetObjectResponseRequest |
withContentLanguage(String contentLanguage)
Set the language the content is in.
|
WriteGetObjectResponseRequest |
withContentLength(Long contentLength)
Set the size of the body in bytes.
|
WriteGetObjectResponseRequest |
withContentRange(String contentRange)
Set the portion of the object returned in the response.
|
WriteGetObjectResponseRequest |
withContentType(String contentType)
Set the standard MIME type describing the format of the object data.
|
WriteGetObjectResponseRequest |
withDeleteMarker(String deleteMarker)
Set whether an object stored in Amazon S3 is (
true ) or is not (false ) a delete
marker. |
WriteGetObjectResponseRequest |
withErrorCode(String errorCode)
Set a string that uniquely identifies an error condition.
|
WriteGetObjectResponseRequest |
withErrorMessage(String errorMessage)
Set a generic description of the error condition.
|
WriteGetObjectResponseRequest |
withETag(String eTag)
Set an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
|
WriteGetObjectResponseRequest |
withExpiration(String expiration)
If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header.
|
WriteGetObjectResponseRequest |
withExpires(Date expires)
Set the date and time at which the object is no longer cacheable.
|
WriteGetObjectResponseRequest |
withFile(File file) |
WriteGetObjectResponseRequest |
withInputStream(InputStream inputStream) |
WriteGetObjectResponseRequest |
withLastModified(Date lastModified)
Set the date and time the object was last modified.
|
WriteGetObjectResponseRequest |
withMetadata(ObjectMetadata metadata)
Set a map of metadata to store with the object in S3.
|
WriteGetObjectResponseRequest |
withMissingMeta(Integer missingMeta)
Set the number of metadata entries not returned in
x-amz-meta headers. |
WriteGetObjectResponseRequest |
withObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
Set whether an object stored in Amazon S3 has an active legal hold.
|
WriteGetObjectResponseRequest |
withObjectLockLegalHoldStatus(String objectLockLegalHoldStatus)
Set whether an object stored in Amazon S3 has an active legal hold.
|
WriteGetObjectResponseRequest |
withObjectLockMode(ObjectLockMode objectLockMode)
Set whether an object stored in Amazon S3 has Object Lock enabled.
|
WriteGetObjectResponseRequest |
withObjectLockMode(String objectLockMode)
Set whether an object stored in Amazon S3 has Object Lock enabled.
|
WriteGetObjectResponseRequest |
withObjectLockRetainUntilDate(Date objectLockRetainUntilDate)
Set the date and time when Object Lock is configured to expire.
|
WriteGetObjectResponseRequest |
withPartsCount(Integer partsCount)
Set the count of parts this object has.
|
WriteGetObjectResponseRequest |
withReplicationStatus(String replicationStatus)
Set if request involves bucket that is either a source or destination in a Replication rule.
|
WriteGetObjectResponseRequest |
withRequestCharged(String requestCharged)
Set the value of the RequestCharged property for this object.
|
WriteGetObjectResponseRequest |
withRequestRoute(String requestRoute)
Set the route prefix to the HTTP URL generated.
|
WriteGetObjectResponseRequest |
withRequestToken(String requestToken)
Set a single use encrypted token that maps
WriteGetObjectResponse to the end user GetObject
request. |
WriteGetObjectResponseRequest |
withRestore(String restore)
Set information about object restoration operation and expiration time of the restored object copy.
|
WriteGetObjectResponseRequest |
withServerSideEncryption(String serverSideEncryption)
Set the server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256,
aws:kms).
|
WriteGetObjectResponseRequest |
withSSECustomerAlgorithm(String sSECustomerAlgorithm)
Set the algorithm used if server-side encryption with a customer-provided encryption key was specified for
object stored in Amazon S3.
|
WriteGetObjectResponseRequest |
withSSECustomerKeyMD5(String sSECustomerKeyMD5)
Set the 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data stored in S3.
|
WriteGetObjectResponseRequest |
withSSEKMSKeyId(String sSEKMSKeyId)
Specify the ID of the Amazon Web Services Key Management Service (KMS) symmetric customer managed customer
master key (CMK) that was used for stored in Amazon S3 object.
|
WriteGetObjectResponseRequest |
withStatusCode(Integer statusCode)
Set the integer status code for an HTTP response of a corresponding
GetObject request. |
WriteGetObjectResponseRequest |
withStorageClass(StorageClass storageClass)
Set the class of storage used to store object in Amazon S3.
|
WriteGetObjectResponseRequest |
withStorageClass(String storageClass)
Set the class of storage used to store object in Amazon S3.
|
WriteGetObjectResponseRequest |
withTagCount(Integer tagCount)
Set the number of tags, if any, on the object.
|
WriteGetObjectResponseRequest |
withVersionId(String versionId)
Set an ID used to reference a specific version of the object.
|
addHandlerContext, clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public WriteGetObjectResponseRequest withRequestRoute(String requestRoute)
public void setRequestRoute(String requestRoute)
public String getRequestRoute()
public WriteGetObjectResponseRequest withRequestToken(String requestToken)
WriteGetObjectResponse
to the end user GetObject
request.public void setRequestToken(String requestToken)
WriteGetObjectResponse
to the end user GetObject
request.public String getRequestToken()
WriteGetObjectResponse
to the end user GetObject
request.public WriteGetObjectResponseRequest withStatusCode(Integer statusCode)
GetObject
request.
Status Codes
200 - OK
206 - Partial Content
304 - Not Modified
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
409 - Conflict
411 - Length Required
412 - Precondition Failed
416 - Range Not Satisfiable
500 - Internal Server Error
503 - Service Unavailable
public void setStatusCode(Integer statusCode)
GetObject
request.
Status Codes
200 - OK
206 - Partial Content
304 - Not Modified
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
409 - Conflict
411 - Length Required
412 - Precondition Failed
416 - Range Not Satisfiable
500 - Internal Server Error
503 - Service Unavailable
public Integer getStatusCode()
GetObject
request.
Status Codes
200 - OK
206 - Partial Content
304 - Not Modified
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
409 - Conflict
411 - Length Required
412 - Precondition Failed
416 - Range Not Satisfiable
500 - Internal Server Error
503 - Service Unavailable
public WriteGetObjectResponseRequest withErrorCode(String errorCode)
GetObject
call. Cannot be used with a successful StatusCode
header
or when the transformed object is provided in the body.public void setErrorCode(String errorCode)
GetObject
call. Cannot be used with a successful StatusCode
header
or when the transformed object is provided in the body.public String getErrorCode()
GetObject
call. Cannot be used with a successful StatusCode
header
or when the transformed object is provided in the body.public WriteGetObjectResponseRequest withErrorMessage(String errorMessage)
GetObject
call. Cannot be used with a successful
StatusCode
header or when the transformed object is provided in body.public void setErrorMessage(String errorMessage)
GetObject
call. Cannot be used with a successful
StatusCode
header or when the transformed object is provided in body.public String getErrorMessage()
GetObject
call. Cannot be used with a successful
StatusCode
header or when the transformed object is provided in body.public WriteGetObjectResponseRequest withAcceptRanges(String acceptRanges)
public void setAcceptRanges(String acceptRanges)
public String getAcceptRanges()
public WriteGetObjectResponseRequest withCacheControl(String cacheControl)
public void setCacheControl(String cacheControl)
public String getCacheControl()
public WriteGetObjectResponseRequest withContentDisposition(String contentDisposition)
public void setContentDisposition(String contentDisposition)
public String getContentDisposition()
public WriteGetObjectResponseRequest withContentEncoding(String contentEncoding)
public void setContentEncoding(String contentEncoding)
public String getContentEncoding()
public WriteGetObjectResponseRequest withContentLanguage(String contentLanguage)
public void setContentLanguage(String contentLanguage)
public String getContentLanguage()
public WriteGetObjectResponseRequest withContentLength(Long contentLength)
public void setContentLength(Long contentLength)
public Long getContentLength()
public WriteGetObjectResponseRequest withContentRange(String contentRange)
public void setContentRange(String contentRange)
public String getContentRange()
public WriteGetObjectResponseRequest withDeleteMarker(String deleteMarker)
true
) or is not (false
) a delete
marker.public void setDeleteMarker(String deleteMarker)
true
) or is not (false
) a delete
marker.public String getDeleteMarker()
true
) or is not (false
) a delete
marker.public WriteGetObjectResponseRequest withETag(String eTag)
public void setETag(String eTag)
public String getETag()
public WriteGetObjectResponseRequest withExpires(Date expires)
public void setExpires(Date expires)
public Date getExpires()
public WriteGetObjectResponseRequest withExpiration(String expiration)
public void setExpiration(String expiration)
public String getExpiration()
public WriteGetObjectResponseRequest withLastModified(Date lastModified)
public void setLastModified(Date lastModified)
public Date getLastModified()
public WriteGetObjectResponseRequest withMissingMeta(Integer missingMeta)
x-amz-meta
headers. This can happen if you
create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using
SOAP, you can create metadata whose values are not legal HTTP headers.public void setMissingMeta(Integer missingMeta)
x-amz-meta
headers. This can happen if you
create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using
SOAP, you can create metadata whose values are not legal HTTP headers.public Integer getMissingMeta()
x-amz-meta
headers. This can happen if you
create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using
SOAP, you can create metadata whose values are not legal HTTP headers.public WriteGetObjectResponseRequest withObjectLockMode(String objectLockMode)
public WriteGetObjectResponseRequest withObjectLockMode(ObjectLockMode objectLockMode)
public void setObjectLockMode(String objectLockMode)
public void setObjectLockMode(ObjectLockMode objectLockMode)
public String getObjectLockMode()
public WriteGetObjectResponseRequest withObjectLockLegalHoldStatus(String objectLockLegalHoldStatus)
public WriteGetObjectResponseRequest withObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
public void setObjectLockLegalHoldStatus(String objectLockLegalHoldStatus)
public void setObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
public String getObjectLockLegalHoldStatus()
public WriteGetObjectResponseRequest withObjectLockRetainUntilDate(Date objectLockRetainUntilDate)
public void setObjectLockRetainUntilDate(Date objectLockRetainUntilDate)
public Date getObjectLockRetainUntilDate()
public WriteGetObjectResponseRequest withPartsCount(Integer partsCount)
public void setPartsCount(Integer partsCount)
public Integer getPartsCount()
public WriteGetObjectResponseRequest withReplicationStatus(String replicationStatus)
public void setReplicationStatus(String replicationStatus)
public String getReplicationStatus()
public WriteGetObjectResponseRequest withRequestCharged(String requestCharged)
public void setRequestCharged(String requestCharged)
public String getRequestCharged()
public WriteGetObjectResponseRequest withRestore(String restore)
public void setRestore(String restore)
public String getRestore()
public WriteGetObjectResponseRequest withServerSideEncryption(String serverSideEncryption)
public void setServerSideEncryption(String serverSideEncryption)
public String getServerSideEncryption()
public WriteGetObjectResponseRequest withSSECustomerAlgorithm(String sSECustomerAlgorithm)
public void setSSECustomerAlgorithm(String sSECustomerAlgorithm)
public String getSSECustomerAlgorithm()
public WriteGetObjectResponseRequest withSSEKMSKeyId(String sSEKMSKeyId)
public void setSSEKMSKeyId(String sSEKMSKeyId)
public String getSSEKMSKeyId()
public WriteGetObjectResponseRequest withSSECustomerKeyMD5(String sSECustomerKeyMD5)
public void setSSECustomerKeyMD5(String sSECustomerKeyMD5)
public String getSSECustomerKeyMD5()
public WriteGetObjectResponseRequest withStorageClass(String storageClass)
public WriteGetObjectResponseRequest withStorageClass(StorageClass storageClass)
public void setStorageClass(String storageClass)
public void setStorageClass(StorageClass storageClass)
public String getStorageClass()
public WriteGetObjectResponseRequest withTagCount(Integer tagCount)
public void setTagCount(Integer tagCount)
public Integer getTagCount()
public WriteGetObjectResponseRequest withVersionId(String versionId)
public void setVersionId(String versionId)
public String getVersionId()
public WriteGetObjectResponseRequest withBucketKeyEnabled(Boolean bucketKeyEnabled)
public void setBucketKeyEnabled(Boolean bucketKeyEnabled)
public Boolean getBucketKeyEnabled()
public WriteGetObjectResponseRequest withContentType(String contentType)
public void setContentType(String contentType)
public String getContentType()
public WriteGetObjectResponseRequest withMetadata(ObjectMetadata metadata)
public void setMetadata(ObjectMetadata metadata)
public ObjectMetadata getMetadata()
public WriteGetObjectResponseRequest withInputStream(InputStream inputStream)
public void setInputStream(InputStream inputStream)
setInputStream
in interface S3DataSource
public InputStream getInputStream()
getInputStream
in interface S3DataSource
public WriteGetObjectResponseRequest withFile(File file)
public void setFile(File file)
setFile
in interface S3DataSource
public File getFile()
getFile
in interface S3DataSource
Copyright © 2022. All rights reserved.