public CreateDiskSnapshotRequest withDiskName(String diskName) {
        setDiskName(diskName);
        return this;
    }
<p>
The unique name of the source disk (<code>Disk-Virginia-1</code>).
</p>
<note>
<p>
This parameter cannot be defined together with the <code>instance name</code> parameter. The
<code>disk name</code> and <code>instance name</code> parameters are mutually exclusive.
</p>
</note>

@param diskName
       The unique name of the source disk (<code>Disk-Virginia-1</code>).</p> <note>
       <p>
       This parameter cannot be defined together with the <code>instance name</code> parameter. The
       <code>disk name</code> and <code>instance name</code> parameters are mutually exclusive.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CreateDiskSnapshotRequest.java