/// <summary>
 /// Sets the CustomOrigin property.
 /// The CustomOrigin contains the information for a non Amazon S3 Bucket origin.
 /// This instance is returned to allow method chaining.
 /// </summary>
 /// <param name="customOrigin">CustomOrigin property is set to this value.</param>
 /// <returns>This instance</returns>
 public CloudFrontDistributionConfig WithCustomOrigin(CustomOrigin customOrigin)
 {
     this.CustomOrigin = customOrigin;
     return(this);
 }
 /// <summary>
 /// Sets the CustomOrigin property.
 /// The CustomOrigin contains the information for a non Amazon S3 Bucket origin.
 /// This instance is returned to allow method chaining.
 /// </summary>
 /// <param name="customOrigin">CustomOrigin property is set to this value.</param>
 /// <returns>This instance</returns>
 public CloudFrontDistributionConfig WithCustomOrigin(CustomOrigin customOrigin)
 {
     this.CustomOrigin = customOrigin;
     return this;
 }