com.ionoscloud.s3.messages.ListBucketResultV1 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 java.util.List;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;
/**
* Object representation of response XML of ListObjects API.
*/
@Root(name = "ListBucketResult", strict = false)
@Namespace(reference = "http://s3.amazonaws.com/doc/2006-03-01/")
public class ListBucketResultV1 extends ListObjectsResult {
@Element(name = "Marker", required = false)
private String marker;
@Element(name = "NextMarker", required = false)
private String nextMarker;
@ElementList(name = "Contents", inline = true, required = false)
private List contents;
public String marker() {
return decodeIfNeeded(marker);
}
public String nextMarker() {
return decodeIfNeeded(nextMarker);
}
@Override
public List contents() {
return emptyIfNull(contents);
}
}