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 class
CDNContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CDNContainer.Builder
builder()
int
compareTo(CDNContainer that)
boolean
equals(Object obj)
URI
getIosUri()
String
getName()
NOTEURI
getSslUri()
URI
getStreamingUri()
int
getTtl()
URI
getUri()
int
hashCode()
boolean
isEnabled()
boolean
isLogRetentionEnabled()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
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:
true
if the container is CDN enabled,false
if not.
-
isLogRetentionEnabled
public boolean isLogRetentionEnabled()
- Returns:
true
if the logs will be retained for this CDN container,false
if 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:
compareTo
in interfaceComparable<CDNContainer>
-
builder
public static CDNContainer.Builder builder()
-
-