All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ionoscloud.s3.messages.ExistingObjectReplication Maven / Gradle / Ivy

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 existing object replication information for {@link ReplicationRule}. */
@Root(name = "ExistingObjectReplication")
public class ExistingObjectReplication {
  @Element(name = "Status")
  private Status status;

  public ExistingObjectReplication(@Nonnull @Element(name = "Status") Status status) {
    this.status = Objects.requireNonNull(status, "Status must not be null");
  }

  public Status status() {
    return this.status;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy