com.ionoscloud.s3.messages.DeletedObject 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 deleted object for {@link DeleteResult}. */
@Root(name = "Deleted", strict = false)
public class DeletedObject {
@Element(name = "Key")
private String name;
@Element(name = "VersionId", required = false)
private String versionId;
@Element(name = "DeleteMarker", required = false)
private boolean deleteMarker;
@Element(name = "DeleteMarkerVersionId", required = false)
private String deleteMarkerVersionId;
public DeletedObject() {}
public String name() {
return name;
}
public String versionId() {
return versionId;
}
public boolean deleteMarker() {
return deleteMarker;
}
public String deleteMarkerVersionId() {
return deleteMarkerVersionId;
}
}