Class CDNContainer
java.lang.Object
org.jclouds.rackspace.cloudfiles.v1.domain.CDNContainer
- All Implemented Interfaces:
Comparable<CDNContainer>
Represents a CDN Container in Rackspace Cloud Files.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CDNContainer.Builderbuilder()intcompareTo(CDNContainer that) booleangetName()NOTEintgetTtl()getUri()inthashCode()booleanbooleanprotected com.google.common.base.MoreObjects.ToStringHelperstring()toString()
-
Constructor Details
-
CDNContainer
-
-
Method Details
-
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.
-
getUri
- Returns:
- the
URIfor this CDN container.
-
getSslUri
- Returns:
- the SSL
URIfor this CDN container.
-
getStreamingUri
- Returns:
- the streaming
URIfor this CDN container.
-
getIosUri
- Returns:
- the iOS
URIfor this CDN container.
-
equals
-
hashCode
public int hashCode() -
toString
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
compareTo
- Specified by:
compareToin interfaceComparable<CDNContainer>
-
builder
-