org.dasein.cloud.aws.platform
Class CloudFront
java.lang.Object
org.dasein.cloud.aws.platform.CloudFront
- All Implemented Interfaces:
- org.dasein.cloud.AccessControlledService, org.dasein.cloud.platform.CDNSupport
public class CloudFront
- extends Object
- implements org.dasein.cloud.platform.CDNSupport
| Fields inherited from interface org.dasein.cloud.platform.CDNSupport |
ANY, CREATE_DISTRIBUTION, GET_DISTRIBUTION, LIST_DISTRIBUTION, REMOVE_DISTRIBUTION |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
@Nonnull
public String create(@Nonnull
String bucket,
@Nonnull
String name,
boolean active,
@Nullable
String... cnames)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
create in interface org.dasein.cloud.platform.CDNSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
delete
public void delete(@Nonnull
String distributionId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
delete in interface org.dasein.cloud.platform.CDNSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
getDistribution
@Nullable
public org.dasein.cloud.platform.Distribution getDistribution(@Nonnull
String distributionId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
getDistribution in interface org.dasein.cloud.platform.CDNSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
getProviderTermForDistribution
@Nonnull
public String getProviderTermForDistribution(@Nonnull
Locale locale)
- Specified by:
getProviderTermForDistribution in interface org.dasein.cloud.platform.CDNSupport
isSubscribed
public boolean isSubscribed()
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
isSubscribed in interface org.dasein.cloud.platform.CDNSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
list
@Nonnull
public Collection<org.dasein.cloud.platform.Distribution> list()
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
list in interface org.dasein.cloud.platform.CDNSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
mapServiceAction
@Nonnull
public String[] mapServiceAction(@Nonnull
org.dasein.cloud.identity.ServiceAction action)
- Specified by:
mapServiceAction in interface org.dasein.cloud.AccessControlledService
update
public void update(@Nonnull
String distributionId,
@Nonnull
String name,
boolean active,
@Nullable
String... cnames)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
update in interface org.dasein.cloud.platform.CDNSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
Copyright © 2012 enStratus Networks LLC. All Rights Reserved.