public UpdateLocationSmbRequest withPassword(String password) {
        setPassword(password);
        return this;
    }
<p>
Specifies the password of the user who can mount your SMB file server and has permission to access the files and
folders involved in your transfer.
</p>
<p>
For more information, see <a href=
"https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions"
>required permissions</a> for SMB locations.
</p>

@param password
       Specifies the password of the user who can mount your SMB file server and has permission to access the
       files and folders involved in your transfer.</p>
       <p>
       For more information, see <a href=
       "https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions"
       >required permissions</a> for SMB locations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/UpdateLocationSmbRequest.java