org.jclouds.hpcloud.objectstorage.domain
Class CDNContainer

java.lang.Object
  extended by org.jclouds.hpcloud.objectstorage.domain.CDNContainer
All Implemented Interfaces:
Comparable<CDNContainer>

public class CDNContainer
extends Object
implements Comparable<CDNContainer>


Nested Class Summary
static class CDNContainer.Builder
           
 
Constructor Summary
protected CDNContainer(String name, boolean cdnEnabled, long ttl, URI CDNUri, URI CDNSslUri, String referrerAcl, String useragentAcl, boolean logRetention)
           
 
Method Summary
static CDNContainer.Builder builder()
           
 int compareTo(CDNContainer o)
           
 boolean equals(Object obj)
           
 URI getCDNSslUri()
           
 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()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 CDNContainer.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CDNContainer

@ConstructorProperties(value={"name","cdn_enabled","ttl","x-cdn-uri","x-cdn-ssl-uri","referrerAcl","useragentAcl","log_retention"})
protected CDNContainer(@Nullable
                                                  String name,
                                                  boolean cdnEnabled,
                                                  long ttl,
                                                  @Nullable
                                                  URI CDNUri,
                                                  @Nullable
                                                  URI CDNSslUri,
                                                  @Nullable
                                                  String referrerAcl,
                                                  @Nullable
                                                  String useragentAcl,
                                                  boolean logRetention)
Method Detail

builder

public static CDNContainer.Builder builder()

toBuilder

public CDNContainer.Builder toBuilder()

getName

@Nullable
public String getName()
Beware: The container name is not available from HEAD CDN responses and will be null.

Returns:
the name of the container to which these CDN settings apply.

isCDNEnabled

public boolean isCDNEnabled()

getTTL

public long getTTL()

getCDNUri

@Nullable
public URI getCDNUri()

getCDNSslUri

@Nullable
public URI getCDNSslUri()

getReferrerAcl

@Nullable
public String getReferrerAcl()

getUseragentAcl

@Nullable
public String getUseragentAcl()

isLogRetention

public boolean isLogRetention()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(CDNContainer o)
Specified by:
compareTo in interface Comparable<CDNContainer>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.