public StartEarthObservationJobResult withDurationInSeconds(Integer durationInSeconds) {
        setDurationInSeconds(durationInSeconds);
        return this;
    }
<p>
The duration of the session, in seconds.
</p>

@param durationInSeconds
       The duration of the session, in seconds.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemakergeospatial/src/main/java/com/amazonaws/services/sagemakergeospatial/model/StartEarthObservationJobResult.java