code: public void setHostedZones(java.util.Collection<HostedZone> hostedZones) {
          if (hostedZones == null) {
              this.hostedZones = null;
              return;
          }
  
          this.hostedZones = new com.amazonaws.internal.SdkInternalList<HostedZone>(hostedZones);
      }
docs: <p>
  A complex type that contains general information about the hosted zone.
  </p>
  
  @param hostedZones
  A complex type that contains general information about the hosted zone.