public ExcludePeriodConfiguration withAmount(Integer amount) {
        setAmount(amount);
        return this;
    }
<p>
The amount or number of the exclude period.
</p>

@param amount
       The amount or number of the exclude period.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/ExcludePeriodConfiguration.java