public ListChangedBlocksRequest withSecondSnapshotId(String secondSnapshotId) {
        setSecondSnapshotId(secondSnapshotId);
        return this;
    }
<p>
The ID of the second snapshot to use for the comparison.
</p>
<important>
<p>
The <code>SecondSnapshotId</code> parameter must be specified with a <code>FirstSnapshotID</code> parameter;
otherwise, an error occurs.
</p>
</important>

@param secondSnapshotId
       The ID of the second snapshot to use for the comparison.</p> <important>
       <p>
       The <code>SecondSnapshotId</code> parameter must be specified with a <code>FirstSnapshotID</code>
       parameter; otherwise, an error occurs.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ebs/src/main/java/com/amazonaws/services/ebs/model/ListChangedBlocksRequest.java