/** * Only purpose is to override the auth filter with one that works in keystone * * @author Adrian Cole * @see TemporaryUrlKeyApi */ @RequestFilters(AuthenticateRequest.class) @Endpoint(Storage.class) public interface KeystoneTemporaryUrlKeyAsyncApi extends TemporaryUrlKeyAsyncApi { }
/** * Functionality that's in Swift, and not in CloudFiles. * * @author Adrian Cole * @deprecated please use {@code org.jclouds.ContextBuilder#buildApi(SwiftKeystoneClient.class)} as * {@link SwiftKeystoneAsyncClient} interface will be removed in jclouds 1.7. */ @Deprecated @RequestFilters(AuthenticateRequest.class) @Endpoint(Storage.class) public interface SwiftKeystoneAsyncClient extends SwiftAsyncClient { }
/** * Functionality that's in Swift, and not in CloudFiles. * * @author Adrian Cole * @deprecated please use {@code org.jclouds.ContextBuilder#buildApi(SwiftClient.class)} as * {@link SwiftAsyncClient} interface will be removed in jclouds 1.7. */ @Deprecated @RequestFilters(AuthenticateRequest.class) @Endpoint(Storage.class) public interface SwiftAsyncClient extends CommonSwiftAsyncClient { }
/** * Functionality that's in Swift, and not in CloudFiles. * * @author Adrian Cole * @deprecated please use {@code org.jclouds.ContextBuilder#buildApi(SwiftKeystoneClient.class)} as * {@link SwiftKeystoneAsyncClient} interface will be removed in jclouds 1.7. */ @Deprecated @RequestFilters(AuthenticateRequest.class) @Endpoint(Storage.class) public interface SwiftKeystoneAsyncClient extends SwiftAsyncClient { }
/** * @see CloudFilesClient#purgeCDNObject(String, String) */ @Named("PurgeCDNEnabledObject") @DELETE @Path("/{container}/{object}") @Endpoint(CDNManagement.class) ListenableFuture<Boolean> purgeCDNObject(@PathParam("container") String container, @PathParam("object") String object);
@org.jclouds.rest.annotations.Endpoint(DNS.class) static interface DNSApi extends Closeable { @HEAD @Path("/zones/{zoneName}") @Fallback(FalseOnNotFoundOr404.class) boolean zoneExists(@PathParam("zoneName") String zoneName); }
/** * * @see OrgClient#listOrgs */ @GET @Endpoint(OrgList.class) @XMLResponseParser(OrgListHandler.class) @Consumes(VCloudMediaType.ORGLIST_XML) ListenableFuture<Map<String, ReferenceType>> listOrgs();
/** * @see CloudFilesClient#listCDNContainers */ @Named("ListCDNEnabledContainers") @GET @Consumes(MediaType.APPLICATION_JSON) @QueryParams(keys = "format", values = "json") @Path("/") @Endpoint(CDNManagement.class) ListenableFuture<? extends Set<ContainerCDNMetadata>> listCDNContainers(ListCdnContainerOptions... options);
/** * @see CloudFilesClient#updateCDN(boolean) */ @Named("UpdateCDNEnabledContainerMetadata") @POST @Path("/{container}") @ResponseParser(ParseCdnUriFromHeaders.class) @Endpoint(CDNManagement.class) ListenableFuture<URI> updateCDN(@PathParam("container") String container, @HeaderParam(CloudFilesHeaders.CDN_LOG_RETENTION) boolean logRetention);
/** * @see CloudFilesClient#updateCDN(long) */ @Named("UpdateCDNEnabledContainerMetadata") @POST @Path("/{container}") @ResponseParser(ParseCdnUriFromHeaders.class) @Endpoint(CDNManagement.class) ListenableFuture<URI> updateCDN(@PathParam("container") String container, @HeaderParam(CloudFilesHeaders.CDN_TTL) long ttl);
/** * @see CloudFilesClient#updateCDN(long, boolean) */ @Named("UpdateCDNEnabledContainerMetadata") @POST @Path("/{container}") @ResponseParser(ParseCdnUriFromHeaders.class) @Endpoint(CDNManagement.class) ListenableFuture<URI> updateCDN(@PathParam("container") String container, @HeaderParam(CloudFilesHeaders.CDN_TTL) long ttl, @HeaderParam(CloudFilesHeaders.CDN_LOG_RETENTION) boolean logRetention);
/** * @see CloudFilesClient#disableCDN */ @Named("DisableCDNEnabledContainer") @POST @Path("/{container}") @Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "False") @Endpoint(CDNManagement.class) ListenableFuture<Boolean> disableCDN(@PathParam("container") String container);
/** * The response to a login request includes a list of the organizations to which the * authenticated user has access. * * @return organizations indexed by name */ @GET @Endpoint(OrgList.class) @XMLResponseParser(OrgListHandler.class) @Consumes(VCloudMediaType.ORGLIST_XML) Map<String, ReferenceType> listOrgs();
/** * @see CloudFilesClient#purgeCDNObject(String, String, Iterable) */ @Named("PurgeCDNEnabledObject") @DELETE @Path("/{container}/{object}") @Headers(keys = CloudFilesHeaders.CDN_CONTAINER_PURGE_OBJECT_EMAIL, values = "{email}") @Endpoint(CDNManagement.class) ListenableFuture<Boolean> purgeCDNObject(@PathParam("container") String container, @PathParam("object") String object, @BinderParam(BindIterableToHeadersWithPurgeCDNObjectEmail.class) Iterable<String> emails);
/** * @see CloudFilesClient#enableCDN(String, long, boolean); */ @Named("CDNEnableContainer") @PUT @Path("/{container}") @Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True") @ResponseParser(ParseCdnUriFromHeaders.class) @Endpoint(CDNManagement.class) ListenableFuture<URI> enableCDN(@PathParam("container") String container, @HeaderParam(CloudFilesHeaders.CDN_TTL) long ttl, @HeaderParam(CloudFilesHeaders.CDN_LOG_RETENTION) boolean logRetention);
/** * @see CloudFilesClient#enableCDN(String, long); */ @Named("CDNEnableContainer") @PUT @Path("/{container}") @Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True") @ResponseParser(ParseCdnUriFromHeaders.class) @Endpoint(CDNManagement.class) ListenableFuture<URI> enableCDN(@PathParam("container") String container, @HeaderParam(CloudFilesHeaders.CDN_TTL) long ttl);
/** * @see CloudFilesClient#enableCDN(String) */ @Named("CDNEnableContainer") @PUT @Path("/{container}") @Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True") @ResponseParser(ParseCdnUriFromHeaders.class) @Endpoint(CDNManagement.class) ListenableFuture<URI> enableCDN(@PathParam("container") String container);
/** * @see CloudFilesClient#getCDNMetadata */ @Named("ListCDNEnabledContainerMetadata") @HEAD @ResponseParser(ParseContainerCDNMetadataFromHeaders.class) @Fallback(NullOnContainerNotFound.class) @Path("/{container}") @Endpoint(CDNManagement.class) ListenableFuture<ContainerCDNMetadata> getCDNMetadata(@PathParam("container") String container);
/** * @see S3Client#putBucketInRegion */ @Named("CreateBucket") @PUT @Path("/") @Endpoint(Bucket.class) @Fallback(FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists.class) ListenableFuture<Boolean> putBucketInRegion( @BinderParam(BindRegionToXmlPayload.class) @Nullable String region, @Bucket @BinderParam(BindAsHostPrefixIfConfigured.class) @ParamValidators(BucketNameValidator.class) String bucketName, PutBucketOptions... options);
/** * @see S3Client#getBucketLocation */ @Named("GetBucketLocation") @GET @QueryParams(keys = "location") @Path("/") @Endpoint(Bucket.class) @XMLResponseParser(LocationConstraintHandler.class) ListenableFuture<String> getBucketLocation( @Bucket @BinderParam(BindAsHostPrefixIfConfigured.class) @ParamValidators(BucketNameValidator.class) String bucketName);