@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.497Z") @Stability(value=Stable) 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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.actions.*;
CacheControl cacheControl = CacheControl.fromString("s");
| 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)
Allows you to create an arbitrary cache control directive, in case our support is missing a method for a particular directive.
|
String |
getValue()
the actual text value of the created directive.
|
static CacheControl |
maxAge(Duration t)
The 'max-age' cache control directive.
|
static CacheControl |
mustRevalidate()
The 'must-revalidate' cache control directive.
|
static CacheControl |
noCache()
The 'no-cache' cache control directive.
|
static CacheControl |
noTransform()
The 'no-transform' cache control directive.
|
static CacheControl |
proxyRevalidate()
The 'proxy-revalidate' cache control directive.
|
static CacheControl |
setPrivate()
The 'private' cache control directive.
|
static CacheControl |
setPublic()
The 'public' cache control directive.
|
void |
setValue(String value)
the actual text value of the created directive.
|
static CacheControl |
sMaxAge(Duration t)
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=Stable) @NotNull public static CacheControl fromString(@NotNull String s)
s - This parameter is required.@Stability(value=Stable) @NotNull public static CacheControl maxAge(@NotNull Duration t)
t - This parameter is required.@Stability(value=Stable) @NotNull public static CacheControl mustRevalidate()
@Stability(value=Stable) @NotNull public static CacheControl noCache()
@Stability(value=Stable) @NotNull public static CacheControl noTransform()
@Stability(value=Stable) @NotNull public static CacheControl proxyRevalidate()
@Stability(value=Stable) @NotNull public static CacheControl setPrivate()
@Stability(value=Stable) @NotNull public static CacheControl setPublic()
@Stability(value=Stable) @NotNull public static CacheControl sMaxAge(@NotNull Duration t)
t - This parameter is required.@Stability(value=Stable) @NotNull public String getValue()
@Stability(value=Stable)
public void setValue(@NotNull
String value)
Copyright © 2022. All rights reserved.