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

com.robothy.s3.rest.model.response.CopyObjectResult Maven / Gradle / Ivy

package com.robothy.s3.rest.model.response;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import com.robothy.s3.datatypes.converter.AmazonInstantConverter;
import java.time.Instant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement(localName = "CopyObjectResult")
public class CopyObjectResult {

  @JacksonXmlProperty(localName = "LastModified")
  @JsonSerialize(converter = AmazonInstantConverter.class)
  private Instant lastModified;

  @JacksonXmlProperty(localName = "ETag")
  private String etag;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy