org.jclouds.hpcloud.objectstorage.domain
Class CDNContainer
java.lang.Object
org.jclouds.hpcloud.objectstorage.domain.CDNContainer
- All Implemented Interfaces:
- Comparable<CDNContainer>
public class CDNContainer
- extends Object
- implements Comparable<CDNContainer>
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)
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.