diff --git a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/CinderApi.java b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/CinderApi.java index 42b36da769..43a2ed3e1f 100644 --- a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/CinderApi.java +++ b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/CinderApi.java @@ -19,7 +19,6 @@ package org.jclouds.openstack.cinder.v1; import java.io.Closeable; import java.util.Set; -import org.jclouds.javax.annotation.Nullable; import org.jclouds.location.Region; import org.jclouds.location.functions.RegionToEndpoint; import org.jclouds.openstack.cinder.v1.domain.Snapshot; @@ -37,7 +36,7 @@ import org.jclouds.rest.annotations.EndpointParam; import com.google.inject.Provides; /** - * Provides synchronous access to OpenStack Block Storage (Cinder) v1 API. + * Provides access to OpenStack Block Storage (Cinder) v1 API. */ public interface CinderApi extends Closeable { @@ -49,34 +48,34 @@ public interface CinderApi extends Closeable { Set getConfiguredRegions(); /** - * Provides synchronous access to {@link Extension} features. + * Provides access to {@link Extension} features. */ @Delegate - ExtensionApi getExtensionApi(@EndpointParam(parser = RegionToEndpoint.class) @Nullable String region); + ExtensionApi getExtensionApi(@EndpointParam(parser = RegionToEndpoint.class) String region); /** - * Provides synchronous access to {@link Volume} features. + * Provides access to {@link Volume} features. */ @Delegate - VolumeApi getVolumeApi(@EndpointParam(parser = RegionToEndpoint.class) @Nullable String region); + VolumeApi getVolumeApi(@EndpointParam(parser = RegionToEndpoint.class) String region); /** - * Provides synchronous access to {@link VolumeType} features. + * Provides access to {@link VolumeType} features. */ @Delegate - VolumeTypeApi getVolumeTypeApi(@EndpointParam(parser = RegionToEndpoint.class) @Nullable String region); + VolumeTypeApi getVolumeTypeApi(@EndpointParam(parser = RegionToEndpoint.class) String region); /** - * Provides synchronous access to {@link Snapshot} features. + * Provides access to {@link Snapshot} features. */ @Delegate - SnapshotApi getSnapshotApi(@EndpointParam(parser = RegionToEndpoint.class) @Nullable String region); + SnapshotApi getSnapshotApi(@EndpointParam(parser = RegionToEndpoint.class) String region); /** - * Provides synchronous access to quota features. + * Provides access to quota features. */ @Delegate - QuotaApi getQuotaApi(@EndpointParam(parser = RegionToEndpoint.class) @Nullable String region); + QuotaApi getQuotaApi(@EndpointParam(parser = RegionToEndpoint.class) String region); /** * @return the Zone codes configured @@ -88,43 +87,43 @@ public interface CinderApi extends Closeable { Set getConfiguredZones(); /** - * Provides synchronous access to Extension features. + * Provides access to Extension features. * @deprecated Please use {@link #getExtensionApi(String region)} as this method will be removed * in jclouds 3.0. */ @Deprecated @Delegate ExtensionApi getExtensionApiForZone( - @EndpointParam(parser = RegionToEndpoint.class) @Nullable String zone); + @EndpointParam(parser = RegionToEndpoint.class) String zone); /** - * Provides synchronous access to Volume features. + * Provides access to Volume features. * @deprecated Please use {@link #getVolumeApi(String region)} as this method will be removed * in jclouds 3.0. */ @Deprecated @Delegate VolumeApi getVolumeApiForZone( - @EndpointParam(parser = RegionToEndpoint.class) @Nullable String zone); + @EndpointParam(parser = RegionToEndpoint.class) String zone); /** - * Provides synchronous access to VolumeType features. + * Provides access to VolumeType features. * @deprecated Please use {@link #getVolumeTypeApi(String region)} as this method will be removed * in jclouds 3.0. */ @Deprecated @Delegate VolumeTypeApi getVolumeTypeApiForZone( - @EndpointParam(parser = RegionToEndpoint.class) @Nullable String zone); + @EndpointParam(parser = RegionToEndpoint.class) String zone); /** - * Provides synchronous access to Snapshot features. + * Provides access to Snapshot features. * @deprecated Please use {@link #getSnapshotApi(String)} as this method will be removed * in jclouds 3.0. */ @Deprecated @Delegate SnapshotApi getSnapshotApiForZone( - @EndpointParam(parser = RegionToEndpoint.class) @Nullable String zone); + @EndpointParam(parser = RegionToEndpoint.class) String zone); } diff --git a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/SnapshotApi.java b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/SnapshotApi.java index 14807f3563..4c5be5b72e 100644 --- a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/SnapshotApi.java +++ b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/SnapshotApi.java @@ -43,7 +43,7 @@ import org.jclouds.rest.annotations.SkipEncoding; import com.google.common.collect.FluentIterable; /** - * Provides synchronous access to Volume Snapshots API. + * Provides access to Volume Snapshots API. * */ @SkipEncoding({'/', '='}) diff --git a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/VolumeApi.java b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/VolumeApi.java index 68000a7130..c6d4d54370 100644 --- a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/VolumeApi.java +++ b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/VolumeApi.java @@ -43,7 +43,7 @@ import org.jclouds.rest.annotations.SkipEncoding; import com.google.common.collect.FluentIterable; /** - * Provides synchronous access to the Volume API. + * Provides access to the Volume API. * * This API strictly handles creating and managing Volumes. To attach a Volume to a Server you need to use the * @see VolumeAttachmentApi diff --git a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/VolumeTypeApi.java b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/VolumeTypeApi.java index 9c5072e9cb..da59d8ba5b 100644 --- a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/VolumeTypeApi.java +++ b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/features/VolumeTypeApi.java @@ -36,7 +36,7 @@ import org.jclouds.rest.annotations.SkipEncoding; import com.google.common.collect.FluentIterable; /** - * Provides synchronous access to the OpenStack Block Storage (Cinder) v1 Volume Types API. + * Provides access to the OpenStack Block Storage (Cinder) v1 Volume Types API. * */ @SkipEncoding({'/', '='}) diff --git a/apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/NovaEC2Api.java b/apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/NovaEC2Api.java index 7469ca1643..7b26dc5299 100644 --- a/apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/NovaEC2Api.java +++ b/apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/NovaEC2Api.java @@ -17,7 +17,6 @@ package org.jclouds.openstack.nova.ec2; import org.jclouds.ec2.EC2Api; -import org.jclouds.javax.annotation.Nullable; import org.jclouds.location.functions.RegionToEndpointOrProviderIfNull; import org.jclouds.openstack.nova.ec2.features.NovaEC2KeyPairApi; import org.jclouds.rest.annotations.Delegate; @@ -26,7 +25,7 @@ import org.jclouds.rest.annotations.EndpointParam; import com.google.common.base.Optional; /** - * Provides synchronous access to EC2 services. + * Provides access to EC2 services. */ public interface NovaEC2Api extends EC2Api { @@ -36,10 +35,10 @@ public interface NovaEC2Api extends EC2Api { @Delegate @Override Optional getKeyPairApi(); - + @Delegate @Override Optional getKeyPairApiForRegion( - @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region); + @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) String region); } diff --git a/apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/features/NovaEC2KeyPairApi.java b/apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/features/NovaEC2KeyPairApi.java index 5bfcaa4242..bf0a35e86c 100644 --- a/apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/features/NovaEC2KeyPairApi.java +++ b/apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/features/NovaEC2KeyPairApi.java @@ -28,7 +28,6 @@ import org.jclouds.ec2.domain.KeyPair; import org.jclouds.ec2.features.KeyPairApi; import org.jclouds.ec2.functions.EncodedRSAPublicKeyToBase64; import org.jclouds.ec2.xml.KeyPairResponseHandler; -import org.jclouds.javax.annotation.Nullable; import org.jclouds.location.functions.RegionToEndpointOrProviderIfNull; import org.jclouds.rest.annotations.EndpointParam; import org.jclouds.rest.annotations.FormParams; @@ -46,12 +45,12 @@ public interface NovaEC2KeyPairApi extends KeyPairApi { * this with CreateKeyPair, in which AWS creates the key pair and gives the keys to you (Nova * keeps a copy of the public key). With ImportKeyPair, you create the key pair and give Nova just * the public key. The private key is never transferred between you and Nova. - * + * *

* You can easily create an RSA key pair on Windows and Linux using the ssh-keygen command line * tool (provided with the standard OpenSSH installation). Standard library support for RSA key * pair creation is also available in Java, Ruby, Python, and many other programming languages. - * + * *

*

Supported Formats

*