mirror of https://github.com/apache/jclouds.git
making security groups and keypairs extensions optional
This commit is contained in:
parent
d3f0e64de1
commit
40395d1723
labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue