Example usage for Java com.amazonaws.services.s3.model GetObjectMetadataRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
GetObjectMetadataRequest(String bucketName, String key) Constructs a new GetObjectMetadataRequest used to retrieve a specified object's metadata. | |
GetObjectMetadataRequest(String bucketName, String key, String versionId) Constructs a new GetObjectMetadataRequest with basic options. |
String | getKey() Gets the key of the object whose metadata is being retrieved. |
void | setSSECustomerKey(SSECustomerKey sseKey) Sets the optional customer-provided server-side encryption key to use when retrieving the metadata of a server-side encrypted object. |
void | setVersionId(String versionId) Sets the optional version ID of the object version whose metadata is being retrieved. |
GetObjectMetadataRequest | withSSECustomerKey(SSECustomerKey sseKey) Sets the optional customer-provided server-side encryption key to use when retrieving the metadata of a server-side encrypted object, and retuns the updated request object so that additional method calls can be chained together. |