Class LifecyclePolicyAction.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class LifecyclePolicyAction.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LifecyclePolicyAction
An implementation for LifecyclePolicyAction
  • 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(LifecyclePolicyAction.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LifecyclePolicyAction.Builder.
  • Method Details

    • getType

      public final LifecyclePolicyActionType getType()
      Description copied from interface: LifecyclePolicyAction
      (experimental) The action to perform on the resources selected in the lifecycle policy rule.
      Specified by:
      getType in interface LifecyclePolicyAction
    • getIncludeAmis

      public final Boolean getIncludeAmis()
      Description copied from interface: LifecyclePolicyAction
      (experimental) Whether to include AMIs in the scope of the lifecycle rule.

      Default: - true for AMI-based policies, false otherwise

      Specified by:
      getIncludeAmis in interface LifecyclePolicyAction
    • getIncludeContainers

      public final Boolean getIncludeContainers()
      Description copied from interface: LifecyclePolicyAction
      (experimental) Whether to include containers in the scope of the lifecycle rule.

      Default: - true for container-based policies, false otherwise

      Specified by:
      getIncludeContainers in interface LifecyclePolicyAction
    • getIncludeSnapshots

      public final Boolean getIncludeSnapshots()
      Description copied from interface: LifecyclePolicyAction
      (experimental) Whether to include snapshots in the scope of the lifecycle rule.

      Default: - true for AMI-based policies, false otherwise

      Specified by:
      getIncludeSnapshots in interface LifecyclePolicyAction
    • $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