Example usage for Java com.amazonaws.services.s3.model S3Object fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Releases any underlying system resources. |
String | getBucketName() Gets the name of the bucket in which this object is contained. |
String | getKey() Gets the key under which this object is stored. |
S3ObjectInputStream | getObjectContent() Gets the input stream containing the contents of this object. |
ObjectMetadata | getObjectMetadata() Gets the metadata stored by Amazon S3 for this object. |
String | getRedirectLocation() Gets the redirect location for this object. |
void | setBucketName(String bucketName) Sets the name of the bucket in which this object is contained. |
void | setKey(String key) Sets the key under which this object is stored. |
void | setObjectContent(S3ObjectInputStream objectContent) Sets the input stream containing this object's contents. |
void | setObjectContent(InputStream objectContent) Sets the input stream containing this object's contents. |
void | setObjectMetadata(ObjectMetadata metadata) Sets the object metadata for this object. |
void | setRedirectLocation(String redirectLocation) Sets the redirect location for this object. |