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 class
UpdateCDNContainerOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static UpdateCDNContainerOptions
NONE
-
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 UpdateCDNContainerOptions
enabled(boolean enabled)
Enables or disables the CDN ContainerUpdateCDNContainerOptions
logRetention(boolean logRetention)
Enables or disables log retentionUpdateCDNContainerOptions
staticWebsiteDirectoryType(com.google.common.net.MediaType directoryType)
Sets the directory marker type for the Static Website.UpdateCDNContainerOptions
staticWebsiteErrorPage(String errorPage)
Sets the error page for the Static Website.UpdateCDNContainerOptions
staticWebsiteIndexPage(String indexPage)
Sets the index page for the Static Website.UpdateCDNContainerOptions
staticWebsiteListings(boolean listings)
Enables or disables listings for the Static Website.UpdateCDNContainerOptions
staticWebsiteListingsCSS(String listingsCSS)
Sets the listings CSS page for the Static Website.UpdateCDNContainerOptions
ttl(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.
-
-