public AuthorizationData withExpiresAt(java.util.Date expiresAt) {
        setExpiresAt(expiresAt);
        return this;
    }
<p>
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid
for 12 hours.
</p>

@param expiresAt
       The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are
       valid for 12 hours.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/AuthorizationData.java