@Stability(value=Stable) public static final class LifecycleRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LifecycleRule
LifecycleRule
software.amazon.jsii.JsiiObject.InitializationMode
LifecycleRule.Builder, LifecycleRule.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDescription()
Describes the purpose of the rule.
|
Duration |
getMaxImageAge()
The maximum age of images to retain.
|
Number |
getMaxImageCount()
The maximum number of images to retain.
|
Number |
getRulePriority()
Controls the order in which rules are evaluated (low to high).
|
List<String> |
getTagPrefixList()
Select images that have ALL the given prefixes in their tag.
|
TagStatus |
getTagStatus()
Select images based on tags.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public String getDescription()
LifecycleRule
Default: No description
getDescription
in interface LifecycleRule
public Duration getMaxImageAge()
LifecycleRule
Specify exactly one of maxImageCount and maxImageAge.
getMaxImageAge
in interface LifecycleRule
public Number getMaxImageCount()
LifecycleRule
Specify exactly one of maxImageCount and maxImageAge.
getMaxImageCount
in interface LifecycleRule
public Number getRulePriority()
LifecycleRule
All rules must have a unique priority, where lower numbers have higher precedence. The first rule that matches is applied to an image.
There can only be one rule with a tagStatus of Any, and it must have the highest rulePriority.
All rules without a specified priority will have incrementing priorities automatically assigned to them, higher than any rules that DO have priorities.
Default: Automatically assigned
getRulePriority
in interface LifecycleRule
public List<String> getTagPrefixList()
LifecycleRule
Only if tagStatus == TagStatus.Tagged
getTagPrefixList
in interface LifecycleRule
public TagStatus getTagStatus()
LifecycleRule
Only one rule is allowed to select untagged images, and it must have the highest rulePriority.
Default: TagStatus.Tagged if tagPrefixList is given, TagStatus.Any otherwise
getTagStatus
in interface LifecycleRule
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2020. All rights reserved.