public Attributes withExpires ( DateTime expires ) { if ( expires == null ) { this . expires = null ; } else { this . expires = expires . toDateTime ( DateTimeZone . UTC ) . getMillis ( ) / 1000 ; } return this ; }
Set the expires value .