public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }
Sets the expiration time for the object.

@param expirationTime
           The expiration time for the object.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/PutObjectResult.java