code: public void setPolicyTypes(java.util.Collection<PolicyTypeSummary> policyTypes) {
          if (policyTypes == null) {
              this.policyTypes = null;
              return;
          }
  
          this.policyTypes = new java.util.ArrayList<PolicyTypeSummary>(policyTypes);
      }
docs: <p>
  The types of policies that are currently enabled for the root and therefore can be attached to the root or to its
  OUs or accounts.
  </p>
  <note>
  <p>
  Even if a policy type is shown as available in the organization, you can separately enable and disable them at
  the root level by using <a>EnablePolicyType</a> and <a>DisablePolicyType</a>. Use <a>DescribeOrganization</a> to
  see the availability of the policy types in that organization.
  </p>
  </note>
  
  @param policyTypes
  The types of policies that are currently enabled for the root and therefore can be attached to the root or
  to its OUs or accounts.</p> <note>
  <p>
  Even if a policy type is shown as available in the organization, you can separately enable and disable
  them at the root level by using <a>EnablePolicyType</a> and <a>DisablePolicyType</a>. Use
  <a>DescribeOrganization</a> to see the availability of the policy types in that organization.
  </p>