AWS SDK for .NET Documentation
WithCustomOrigin Method (customOrigin)
Amazon ► Amazon.CloudFront_2012_03_15.Model ► CloudFrontDistributionConfig ► WithCustomOrigin(CustomOrigin)
Did this page help you? Yes No Tell us about it...
Sets the CustomOrigin property. The CustomOrigin contains the information for a non Amazon S3 Bucket origin. This instance is returned to allow method chaining.
Declaration Syntax

C#

    [ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
    public CloudFrontDistributionConfig WithCustomOrigin(
    	CustomOrigin customOrigin
    )

Parameters

customOrigin (CustomOrigin)
  CustomOrigin property is set to this value.

Return Value
This instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)