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.
  • Constructor Details

    • CDNContainer

      @ConstructorProperties({"name","cdn_enabled","log_retention","ttl","cdn_uri","cdn_ssl_uri","cdn_streaming_uri","cdn_ios_uri"}) public CDNContainer(String name, boolean enabled, boolean logRetention, int ttl, URI uri, URI sslUri, URI streamingUri, URI iosUri)
  • Method Details

    • 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.
    • getUri

      public URI getUri()
      Returns:
      the URI for this CDN container.
    • getSslUri

      public URI getSslUri()
      Returns:
      the SSL URI for this CDN container.
    • getStreamingUri

      public URI getStreamingUri()
      Returns:
      the streaming URI for this CDN container.
    • getIosUri

      public URI getIosUri()
      Returns:
      the iOS URI for this CDN container.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • compareTo

      public int compareTo(CDNContainer that)
      Specified by:
      compareTo in interface Comparable<CDNContainer>
    • builder

      public static CDNContainer.Builder builder()