xmlWriter.startElement("DNSName").value(s3OriginS3Origin.getDNSName()).endElement();
}
if (s3OriginS3Origin.getOriginAccessIdentity() != null) {
xmlWriter.startElement("OriginAccessIdentity").value(s3OriginS3Origin.getOriginAccessIdentity()).endElement();
}
xmlWriter.endElement();
}
}
if (distributionConfigDistributionConfig != null) {
CustomOrigin customOriginCustomOrigin = distributionConfigDistributionConfig.getCustomOrigin();
if (customOriginCustomOrigin != null) {