org.jclouds.cloudfiles.domain
Class ContainerCDNMetadata

java.lang.Object
  extended by org.jclouds.cloudfiles.domain.ContainerCDNMetadata
All Implemented Interfaces:
Comparable<ContainerCDNMetadata>

public class ContainerCDNMetadata
extends Object
implements Comparable<ContainerCDNMetadata>

Author:
James Murty

Constructor Summary
ContainerCDNMetadata()
           
ContainerCDNMetadata(String name, boolean cdnEnabled, long ttl, URI cdnUri)
           
 
Method Summary
 int compareTo(ContainerCDNMetadata o)
           
 boolean equals(Object obj)
           
 URI getCDNUri()
           
 String getName()
          Beware: The container name is not available from HEAD CDN responses and will be null.
 String getReferrerACL()
           
 long getTTL()
           
 String getUseragentACL()
           
 int hashCode()
           
 boolean isCDNEnabled()
           
 boolean isLogRetention()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerCDNMetadata

public ContainerCDNMetadata(String name,
                            boolean cdnEnabled,
                            long ttl,
                            URI cdnUri)

ContainerCDNMetadata

public ContainerCDNMetadata()
Method Detail

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-2012 jclouds. All Rights Reserved.