public void setHostedZones(java.util.Collection<HostedZone> hostedZones) {
        if (hostedZones == null) {
            this.hostedZones = null;
            return;
        }

        this.hostedZones = new com.amazonaws.internal.SdkInternalList<HostedZone>(hostedZones);
    }
<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.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/ListHostedZonesByNameResult.java