public DescribeLocationSmbResult withDomain(String domain) {
        setDomain(domain);
        return this;
    }
<p>
The name of the Microsoft Active Directory domain that the SMB file server belongs to.
</p>

@param domain
       The name of the Microsoft Active Directory domain that the SMB file server belongs to.
@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/DescribeLocationSmbResult.java