public FileGetPropertiesFromTaskHeaders withOcpCreationTime(DateTime ocpCreationTime) {
        if (ocpCreationTime == null) {
            this.ocpCreationTime = null;
        } else {
            this.ocpCreationTime = new DateTimeRfc1123(ocpCreationTime);
        }
        return this;
    }
public FileGetPropertiesFromTaskHeaders withOcpCreationTime ( DateTime ocpCreationTime ) { if ( ocpCreationTime == null ) { this . ocpCreationTime = null ; } else { this . ocpCreationTime = new DateTimeRfc1123 ( ocpCreationTime ) ; } return this ; }
Set the file creation time.

@param ocpCreationTime the ocpCreationTime value to set
@return the FileGetPropertiesFromTaskHeaders object itself.