| Package | Description |
|---|---|
| software.amazon.awssdk.services.s3.model |
| Modifier and Type | Method and Description |
|---|---|
static LifecycleExpiration.Builder |
LifecycleExpiration.builder() |
LifecycleExpiration.Builder |
LifecycleExpiration.Builder.date(Instant date)
Indicates at what date the object is to be moved or deleted.
|
LifecycleExpiration.Builder |
LifecycleExpiration.Builder.days(Integer days)
Indicates the lifetime, in days, of the objects that are subject to the rule.
|
LifecycleExpiration.Builder |
LifecycleExpiration.Builder.expiredObjectDeleteMarker(Boolean expiredObjectDeleteMarker)
Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions.
|
LifecycleExpiration.Builder |
LifecycleExpiration.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends LifecycleExpiration.Builder> |
LifecycleExpiration.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default LifecycleRule.Builder |
LifecycleRule.Builder.expiration(Consumer<LifecycleExpiration.Builder> expiration)
This is a convenience that creates an instance of the
LifecycleExpiration.Builder avoiding the need
to create one manually via LifecycleExpiration.builder(). |
Copyright © 2019. All rights reserved.