public ResourceDataSyncAwsOrganizationsSource withOrganizationSourceType(String organizationSourceType) {
        setOrganizationSourceType(organizationSourceType);
        return this;
    }
<p>
If an Amazon Web Services organization is present, this is either <code>OrganizationalUnits</code> or
<code>EntireOrganization</code>. For <code>OrganizationalUnits</code>, the data is aggregated from a set of
organization units. For <code>EntireOrganization</code>, the data is aggregated from the entire Amazon Web
Services organization.
</p>

@param organizationSourceType
       If an Amazon Web Services organization is present, this is either <code>OrganizationalUnits</code> or
       <code>EntireOrganization</code>. For <code>OrganizationalUnits</code>, the data is aggregated from a set
       of organization units. For <code>EntireOrganization</code>, the data is aggregated from the entire Amazon
       Web Services organization.
@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/ResourceDataSyncAwsOrganizationsSource.java