Java ApacheJCloudsBlobstoreGetBlob和GetOptions

Java ApacheJCloudsBlobstoreGetBlob和GetOptions,java,jclouds,Java,Jclouds,任何人都知道如何使用GetOptions从blob存储区获取blob: BlobStore blobStore = context.getBlobStore(); Blob blob = blobStore.getBlob(cloudStorageContainer, fileName); 我想要实现的是在调用blobstore.getBlob()方法时,将ETag值传递给org.jclouds.blobstore.options.GetOptions,jclouds可以通过以下方法之一有条件

任何人都知道如何使用
GetOptions
从blob存储区获取blob:

BlobStore blobStore = context.getBlobStore();
Blob blob = blobStore.getBlob(cloudStorageContainer, fileName);

我想要实现的是在调用
blobstore.getBlob()
方法时,将ETag值传递给
org.jclouds.blobstore.options.GetOptions
,jclouds可以通过以下方法之一有条件地基于其ETag获取blob:

BlobStore.getBlob(containerName, blobName, new Getoptions().ifETagMatches(etag));
BlobStore.getBlob(containerName, blobName, new Getoptions().ifETagDoesntMatch(etag));

你能分享一下如何传递参数的例子吗