Class CDNContainer
- java.lang.Object
-
- org.jclouds.rackspace.cloudfiles.v1.domain.CDNContainer
-
- All Implemented Interfaces:
Comparable<CDNContainer>
public class CDNContainer extends Object implements Comparable<CDNContainer>
Represents a CDN Container in Rackspace Cloud Files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCDNContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CDNContainer.Builderbuilder()intcompareTo(CDNContainer that)booleanequals(Object obj)URIgetIosUri()StringgetName()NOTEURIgetSslUri()URIgetStreamingUri()intgetTtl()URIgetUri()inthashCode()booleanisEnabled()booleanisLogRetentionEnabled()protected com.google.common.base.MoreObjects.ToStringHelperstring()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
NOTE
The container name is not available from HEAD CDN responses and will be null.- Returns:
- The name of this CDN container.
-
isEnabled
public boolean isEnabled()
- Returns:
trueif the container is CDN enabled,falseif not.
-
isLogRetentionEnabled
public boolean isLogRetentionEnabled()
- Returns:
trueif the logs will be retained for this CDN container,falseif not.
-
getTtl
public int getTtl()
- Returns:
- the TTL for this CDN container.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(CDNContainer that)
- Specified by:
compareToin interfaceComparable<CDNContainer>
-
builder
public static CDNContainer.Builder builder()
-
-