@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:56.626Z") @Stability(value=Experimental) public class CacheControl extends software.amazon.jsii.JsiiObject
Use the provided static factory methods to construct instances of this class. Used in the {@link S3DeployActionProps.cacheControl} property.
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9| Modifier | Constructor and Description |
|---|---|
protected |
CacheControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CacheControl(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static CacheControl |
fromString(String s)
(experimental) Allows you to create an arbitrary cache control directive, in case our support is missing a method for a particular directive.
|
String |
getValue()
(experimental) the actual text value of the created directive.
|
static CacheControl |
maxAge(Duration t)
(experimental) The 'max-age' cache control directive.
|
static CacheControl |
mustRevalidate()
(experimental) The 'must-revalidate' cache control directive.
|
static CacheControl |
noCache()
(experimental) The 'no-cache' cache control directive.
|
static CacheControl |
noTransform()
(experimental) The 'no-transform' cache control directive.
|
static CacheControl |
proxyRevalidate()
(experimental) The 'proxy-revalidate' cache control directive.
|
static CacheControl |
setPrivate()
(experimental) The 'private' cache control directive.
|
static CacheControl |
setPublic()
(experimental) The 'public' cache control directive.
|
void |
setValue(String value)
(experimental) the actual text value of the created directive.
|
static CacheControl |
sMaxAge(Duration t)
(experimental) The 's-max-age' cache control directive.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CacheControl(software.amazon.jsii.JsiiObjectRef objRef)
protected CacheControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static CacheControl fromString(@NotNull String s)
s - This parameter is required.@Stability(value=Experimental) @NotNull public static CacheControl maxAge(@NotNull Duration t)
t - This parameter is required.@Stability(value=Experimental) @NotNull public static CacheControl mustRevalidate()
@Stability(value=Experimental) @NotNull public static CacheControl noCache()
@Stability(value=Experimental) @NotNull public static CacheControl noTransform()
@Stability(value=Experimental) @NotNull public static CacheControl proxyRevalidate()
@Stability(value=Experimental) @NotNull public static CacheControl setPrivate()
@Stability(value=Experimental) @NotNull public static CacheControl setPublic()
@Stability(value=Experimental) @NotNull public static CacheControl sMaxAge(@NotNull Duration t)
t - This parameter is required.@Stability(value=Experimental) @NotNull public String getValue()
@Stability(value=Experimental)
public void setValue(@NotNull
String value)
Copyright © 2021. All rights reserved.