public InternalServerException withRetryAfterSeconds(Integer retryAfterSeconds) {
        setRetryAfterSeconds(retryAfterSeconds);
        return this;
    }
<p>
The amount of time to wait before you retry the request.
</p>

@param retryAfterSeconds
       The amount of time to wait before you retry the request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/InternalServerException.java