Class BaseArchiveProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.BaseArchiveProps.Jsii$Proxy
All Implemented Interfaces:
BaseArchiveProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
BaseArchiveProps

@Stability(Stable) @Internal public static final class BaseArchiveProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BaseArchiveProps
An implementation for BaseArchiveProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(BaseArchiveProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BaseArchiveProps.Builder.
  • Method Details

    • getEventPattern

      public final EventPattern getEventPattern()
      Description copied from interface: BaseArchiveProps
      An event pattern to use to filter events sent to the archive.
      Specified by:
      getEventPattern in interface BaseArchiveProps
    • getArchiveName

      public final String getArchiveName()
      Description copied from interface: BaseArchiveProps
      The name of the archive.

      Default: - Automatically generated

      Specified by:
      getArchiveName in interface BaseArchiveProps
    • getDescription

      public final String getDescription()
      Description copied from interface: BaseArchiveProps
      A description for the archive.

      Default: - none

      Specified by:
      getDescription in interface BaseArchiveProps
    • getRetention

      public final Duration getRetention()
      Description copied from interface: BaseArchiveProps
      The number of days to retain events for.

      Default value is 0. If set to 0, events are retained indefinitely.

      Default: - Infinite

      Specified by:
      getRetention in interface BaseArchiveProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object