com.ionoscloud.s3.messages.NoncurrentVersionExpiration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ionos-cloud-sdk-s3 Show documentation
Show all versions of ionos-cloud-sdk-s3 Show documentation
IONOS Java SDK for Amazon S3 Compatible Cloud Storage
The newest version!
package com.ionoscloud.s3.messages;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
/** Helper class to denote noncurrent version expiration information for {@link LifecycleRule}. */
@Root(name = "NoncurrentVersionExpiration")
public class NoncurrentVersionExpiration {
@Element(name = "NoncurrentDays")
private int noncurrentDays;
public NoncurrentVersionExpiration(
@Element(name = "NoncurrentDays", required = false) int noncurrentDays) {
this.noncurrentDays = noncurrentDays;
}
public int noncurrentDays() {
return noncurrentDays;
}
}