public SendMessageRequest withDelaySeconds(Integer delaySeconds) {
        setDelaySeconds(delaySeconds);
        return this;
    }
<p>
The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15
minutes. Messages with a positive <code>DelaySeconds</code> value become available for processing after the delay
period is finished. If you don't specify a value, the default value for the queue applies.
</p>
<note>
<p>
When you set <code>FifoQueue</code>, you can't set <code>DelaySeconds</code> per message. You can set this
parameter only on a queue level.
</p>
</note>

@param delaySeconds
       The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15
       minutes. Messages with a positive <code>DelaySeconds</code> value become available for processing after
       the delay period is finished. If you don't specify a value, the default value for the queue applies. </p>
       <note>
       <p>
       When you set <code>FifoQueue</code>, you can't set <code>DelaySeconds</code> per message. You can set this
       parameter only on a queue level.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sqs/src/main/java/com/amazonaws/services/sqs/model/SendMessageRequest.java