Class UpdateCDNContainerOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.rackspace.cloudfiles.v1.options.UpdateCDNContainerOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class UpdateCDNContainerOptions extends BaseHttpRequestOptions
Options supported for updating CDN containers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateCDNContainerOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static UpdateCDNContainerOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateCDNContainerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCDNContainerOptionsenabled(boolean enabled)Enables or disables the CDN ContainerUpdateCDNContainerOptionslogRetention(boolean logRetention)Enables or disables log retentionUpdateCDNContainerOptionsstaticWebsiteDirectoryType(com.google.common.net.MediaType directoryType)Sets the directory marker type for the Static Website.UpdateCDNContainerOptionsstaticWebsiteErrorPage(String errorPage)Sets the error page for the Static Website.UpdateCDNContainerOptionsstaticWebsiteIndexPage(String indexPage)Sets the index page for the Static Website.UpdateCDNContainerOptionsstaticWebsiteListings(boolean listings)Enables or disables listings for the Static Website.UpdateCDNContainerOptionsstaticWebsiteListingsCSS(String listingsCSS)Sets the listings CSS page for the Static Website.UpdateCDNContainerOptionsttl(int ttl)Updates TTL-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final UpdateCDNContainerOptions NONE
-
-
Method Detail
-
ttl
public UpdateCDNContainerOptions ttl(int ttl)
Updates TTL
-
logRetention
public UpdateCDNContainerOptions logRetention(boolean logRetention)
Enables or disables log retention
-
enabled
public UpdateCDNContainerOptions enabled(boolean enabled)
Enables or disables the CDN Container
-
staticWebsiteDirectoryType
public UpdateCDNContainerOptions staticWebsiteDirectoryType(com.google.common.net.MediaType directoryType)
Sets the directory marker type for the Static Website.
-
staticWebsiteErrorPage
public UpdateCDNContainerOptions staticWebsiteErrorPage(String errorPage)
Sets the error page for the Static Website.
-
staticWebsiteIndexPage
public UpdateCDNContainerOptions staticWebsiteIndexPage(String indexPage)
Sets the index page for the Static Website.
-
staticWebsiteListings
public UpdateCDNContainerOptions staticWebsiteListings(boolean listings)
Enables or disables listings for the Static Website.
-
staticWebsiteListingsCSS
public UpdateCDNContainerOptions staticWebsiteListingsCSS(String listingsCSS)
Sets the listings CSS page for the Static Website.
-
-