public class HeadBucketFunction extends Object implements SdkFunction<HeadBucketRequest,HeadBucketResult>
Constructor and Description |
---|
HeadBucketFunction(AmazonS3 client)
Constructs a new HeadBucketFunction with the given client
|
Modifier and Type | Method and Description |
---|---|
HeadBucketResult |
apply(HeadBucketRequest headBucketRequest)
Makes a call to the operation specified by the waiter by taking the
corresponding request and returns the corresponding result
|
public HeadBucketFunction(AmazonS3 client)
client
- Service clientpublic HeadBucketResult apply(HeadBucketRequest headBucketRequest)
apply
in interface SdkFunction<HeadBucketRequest,HeadBucketResult>
headBucketRequest
- Corresponding request for the operationCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.