making security groups and keypairs extensions optional

This commit is contained in:
Mike Arnold 2012-03-15 11:02:39 -05:00
parent d3f0e64de1
commit 40395d1723
1 changed files with 2 additions and 2 deletions
labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1

View File

@ -93,13 +93,13 @@ public interface NovaAsyncClient {
* Provides asynchronous access to Security Group features.
*/
@Delegate
SecurityGroupAsyncClient getSecurityGroupClientForRegion(
Optional<SecurityGroupAsyncClient> getSecurityGroupClientForRegion(
@EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region);
/**
* Provides asynchronous access to Key Pair features.
*/
@Delegate
KeyPairAsyncClient getKeyPairClientForRegion(
Optional<KeyPairAsyncClient> getKeyPairClientForRegion(
@EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region);
}