org.jclouds.cloudfiles.domain
Class ContainerCDNMetadata
java.lang.Object
org.jclouds.cloudfiles.domain.ContainerCDNMetadata
- All Implemented Interfaces:
- Comparable<ContainerCDNMetadata>
public class ContainerCDNMetadata
- extends Object
- implements Comparable<ContainerCDNMetadata>
- Author:
- James Murty
ContainerCDNMetadata
public ContainerCDNMetadata(String name,
boolean cdnEnabled,
long ttl,
URI cdnUri)
ContainerCDNMetadata
public ContainerCDNMetadata()
getName
public String getName()
- Beware: The container name is not available from HEAD CDN responses and will be null. return
the name of the container to which these CDN settings apply.
getCDNUri
public URI getCDNUri()
getTTL
public long getTTL()
isCDNEnabled
public boolean isCDNEnabled()
compareTo
public int compareTo(ContainerCDNMetadata o)
- Specified by:
compareTo
in interface Comparable<ContainerCDNMetadata>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getReferrerACL
public String getReferrerACL()
getUseragentACL
public String getUseragentACL()
isLogRetention
public boolean isLogRetention()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.