@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:14.293Z") @Stability(value=Deprecated) @Deprecated public class Expires extends software.amazon.jsii.JsiiObject
Does NOT influence deletion of the object.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; import software.amazon.awscdk.services.s3.deployment.*; Duration duration; Expires expires = Expires.after(duration);
https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadata| Modifier | Constructor and Description |
|---|---|
protected |
Expires(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
Expires(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Expires |
after(Duration t)
Deprecated.
|
static Expires |
atDate(Instant d)
Deprecated.
|
static Expires |
atTimestamp(Number t)
Deprecated.
|
static Expires |
fromString(String s)
Deprecated.
|
Object |
getValue()
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Expires(software.amazon.jsii.JsiiObjectRef objRef)
protected Expires(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated @NotNull public static Expires after(@NotNull Duration t)
t - the duration to wait before expiring. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public static Expires atDate(@NotNull Instant d)
d - date to expire at. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public static Expires atTimestamp(@NotNull Number t)
t - timestamp in unix milliseconds. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public static Expires fromString(@NotNull String s)
s - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public Object getValue()
Copyright © 2022. All rights reserved.