Java com.amazonaws.services.s3.model GetObjectMetadataRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.s3.model GetObjectMetadataRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.s3.model GetObjectMetadataRequest.

The text is from its open source code.

Constructor

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.

Method

StringgetKey()
Gets the key of the object whose metadata is being retrieved.
voidsetSSECustomerKey(SSECustomerKey sseKey)
Sets the optional customer-provided server-side encryption key to use when retrieving the metadata of a server-side encrypted object.
voidsetVersionId(String versionId)
Sets the optional version ID of the object version whose metadata is being retrieved.
GetObjectMetadataRequestwithSSECustomerKey(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.