.withNonmatchingETagConstraints(origReq.getNonmatchingETagConstraints()) .withSourceVersionId(origReq.getSourceVersionId()) .withUnmodifiedSinceConstraint(origReq.getUnmodifiedSinceConstraint())
copyObjectRequest.getMatchingETagConstraints()); addStringListHeader(request, Headers.COPY_SOURCE_IF_NO_MATCH, copyObjectRequest.getNonmatchingETagConstraints());
private void setOtherMetadataInRequest(CopyPartRequest request) { if (copyObjectRequest.getMatchingETagConstraints() != null) request.setMatchingETagConstraints(copyObjectRequest .getMatchingETagConstraints()); if (copyObjectRequest.getModifiedSinceConstraint() != null) request.setModifiedSinceConstraint(copyObjectRequest .getModifiedSinceConstraint()); if (copyObjectRequest.getNonmatchingETagConstraints() != null) request.setNonmatchingETagConstraints(copyObjectRequest .getNonmatchingETagConstraints()); if (copyObjectRequest.getSourceVersionId() != null) request.setSourceVersionId(copyObjectRequest.getSourceVersionId()); if (copyObjectRequest.getUnmodifiedSinceConstraint() != null) request.setUnmodifiedSinceConstraint(copyObjectRequest .getUnmodifiedSinceConstraint()); }
copyObjectRequest.getMatchingETagConstraints()); addStringListHeader(request, Headers.COPY_SOURCE_IF_NO_MATCH, copyObjectRequest.getNonmatchingETagConstraints());
private void setOtherMetadataInRequest(CopyPartRequest request) { if (copyObjectRequest.getMatchingETagConstraints() != null) request.setMatchingETagConstraints(copyObjectRequest .getMatchingETagConstraints()); if (copyObjectRequest.getModifiedSinceConstraint() != null) request.setModifiedSinceConstraint(copyObjectRequest .getModifiedSinceConstraint()); if (copyObjectRequest.getNonmatchingETagConstraints() != null) request.setNonmatchingETagConstraints(copyObjectRequest .getNonmatchingETagConstraints()); if (copyObjectRequest.getSourceVersionId() != null) request.setSourceVersionId(copyObjectRequest.getSourceVersionId()); if (copyObjectRequest.getUnmodifiedSinceConstraint() != null) request.setUnmodifiedSinceConstraint(copyObjectRequest .getUnmodifiedSinceConstraint()); }
.withNonmatchingETagConstraints(origReq.getNonmatchingETagConstraints()) .withSourceVersionId(origReq.getSourceVersionId()) .withUnmodifiedSinceConstraint(origReq.getUnmodifiedSinceConstraint())
copyObjectRequest.getMatchingETagConstraints()); addStringListHeader(request, Headers.COPY_SOURCE_IF_NO_MATCH, copyObjectRequest.getNonmatchingETagConstraints());
copyObjectRequest.getMatchingETagConstraints()); addStringListHeader(request, Headers.COPY_SOURCE_IF_NO_MATCH, copyObjectRequest.getNonmatchingETagConstraints());