java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.deployment.Expires
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.557Z") @Stability(Deprecated) @Deprecated public class Expires extends software.amazon.jsii.JsiiObject
Deprecated.
use core.Expiration
(deprecated) Used for HTTP expires header, which influences downstream caches.

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.services.s3.deployment.*;
 import software.amazon.awscdk.core.*;
 Expires expires = Expires.after(Duration.minutes(30));
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Expires(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    Deprecated.
     
    protected
    Expires(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Expires
    Deprecated.
    static Expires
    Deprecated.
    static Expires
    Deprecated.
    static Expires
    Deprecated.
    Deprecated.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • Expires

      protected Expires(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • Expires

      protected Expires(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
  • Method Details

    • after

      @Stability(Deprecated) @Deprecated @NotNull public static Expires after(@NotNull Duration t)
      Deprecated.
      (deprecated) Expire once the specified duration has passed since deployment time.

      Parameters:
      t - the duration to wait before expiring. This parameter is required.
    • atDate

      @Stability(Deprecated) @Deprecated @NotNull public static Expires atDate(@NotNull Instant d)
      Deprecated.
      (deprecated) Expire at the specified date.

      Parameters:
      d - date to expire at. This parameter is required.
    • atTimestamp

      @Stability(Deprecated) @Deprecated @NotNull public static Expires atTimestamp(@NotNull Number t)
      Deprecated.
      (deprecated) Expire at the specified timestamp.

      Parameters:
      t - timestamp in unix milliseconds. This parameter is required.
    • fromString

      @Stability(Deprecated) @Deprecated @NotNull public static Expires fromString(@NotNull String s)
      Deprecated.
      (deprecated) Create an expiration date from a raw date string.

      Parameters:
      s - This parameter is required.
    • getValue

      @Stability(Deprecated) @Deprecated @NotNull public Object getValue()
      Deprecated.
      (deprecated) The raw expiration date expression.