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.Builder
builder()
int
compareTo
(CDNContainer that) boolean
getName()
NOTEint
getTtl()
getUri()
int
hashCode()
boolean
boolean
protected com.google.common.base.MoreObjects.ToStringHelper
string()
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:
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.
-
getUri
- Returns:
- the
URI
for this CDN container.
-
getSslUri
- Returns:
- the SSL
URI
for this CDN container.
-
getStreamingUri
- Returns:
- the streaming
URI
for this CDN container.
-
getIosUri
- Returns:
- the iOS
URI
for this CDN container.
-
equals
-
hashCode
public int hashCode() -
toString
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
compareTo
- Specified by:
compareTo
in interfaceComparable<CDNContainer>
-
builder
-