public void setModified(DateTime date) throws InvalidArgumentException {
    if (date == null) {
      throw new InvalidArgumentException("Date cannot be empty");
    }
    copyConditions.put("x-amz-copy-source-if-modified-since", date.toString(DateFormat.HTTP_HEADER_DATE_FORMAT));
  }
public void setModified ( DateTime date ) throws InvalidArgumentException { if ( date == null ) { throw new InvalidArgumentException ( "Date cannot be empty" ) ; } copyConditions . put ( "x-amz-copy-source-if-modified-since" , date . toString ( DateFormat . HTTP_HEADER_DATE_FORMAT ) ) ; }
Set modified condition, copy object modified since given time.

@throws InvalidArgumentException
When date is null