public class HeadObjectFunction extends Object implements SdkFunction<GetObjectMetadataRequest,ObjectMetadata>
| Constructor and Description |
|---|
HeadObjectFunction(AmazonS3 client)
Constructs a new HeadObjectFunction with the given client
|
| Modifier and Type | Method and Description |
|---|---|
ObjectMetadata |
apply(GetObjectMetadataRequest headObjectRequest)
Makes a call to the operation specified by the waiter by taking the
corresponding request and returns the corresponding result
|
public HeadObjectFunction(AmazonS3 client)
client - Service clientpublic ObjectMetadata apply(GetObjectMetadataRequest headObjectRequest)
apply in interface SdkFunction<GetObjectMetadataRequest,ObjectMetadata>headObjectRequest - Corresponding request for the operation