public Duration withValue(Long value) {
        setValue(value);
        return this;
    }
<p>
A number of time units.
</p>

@param value
       A number of time units.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/Duration.java