public void setSubdirectory(String subdirectory) {
        this.subdirectory = subdirectory;
    }
<p>
Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can
include a subdirectory in the share path (for example, <code>/path/to/subdirectory</code>). Make sure that other
SMB clients in your network can also mount this path.
</p>
<p>
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of
its data. 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 subdirectory
       Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
       You can include a subdirectory in the share path (for example, <code>/path/to/subdirectory</code>). Make
       sure that other SMB clients in your network can also mount this path.</p>
       <p>
       To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access
       all of its data. 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.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/UpdateLocationSmbRequest.java