public ResourceDataSyncSource withSourceType(String sourceType) {
        setSourceType(sourceType);
        return this;
    }
<p>
The type of data source for the resource data sync. <code>SourceType</code> is either
<code>AwsOrganizations</code> (if an organization is present in Organizations) or
<code>SingleAccountMultiRegions</code>.
</p>

@param sourceType
       The type of data source for the resource data sync. <code>SourceType</code> is either
       <code>AwsOrganizations</code> (if an organization is present in Organizations) or
       <code>SingleAccountMultiRegions</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ResourceDataSyncSource.java