/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(GetObjectResponse o) { opcClientRequestId(o.getOpcClientRequestId()); opcRequestId(o.getOpcRequestId()); eTag(o.getETag()); opcMeta(o.getOpcMeta()); contentLength(o.getContentLength()); contentRange(o.getContentRange()); contentMd5(o.getContentMd5()); opcMultipartMd5(o.getOpcMultipartMd5()); contentType(o.getContentType()); contentLanguage(o.getContentLanguage()); contentEncoding(o.getContentEncoding()); lastModified(o.getLastModified()); archivalState(o.getArchivalState()); timeOfArchival(o.getTimeOfArchival()); inputStream(o.getInputStream()); isNotModified(o.isNotModified()); return this; } }