com.ionoscloud.s3.messages.AccessControlTranslation 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.Objects;
import javax.annotation.Nonnull;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
/**
* Helper class to denote access control translation information for {@link ReplicationDestination}.
*/
@Root(name = "AccessControlTranslation")
public class AccessControlTranslation {
@Element(name = "Owner")
private String owner = "Destination";
public AccessControlTranslation(@Nonnull @Element(name = "Owner") String owner) {
this.owner = Objects.requireNonNull(owner, "Owner must not be null");
}
public String owner() {
return this.owner;
}
}