AWS SDK for .NET Documentation
WithWebsiteRedirectLocation Method (websiteRedirectLocation)
AmazonAmazon.S3.ModelCopyObjectRequestWithWebsiteRedirectLocation(String) Did this page help you?   Yes   No    Tell us about it...
Sets the WebsiteRedirectLocation property on the new object so that when a GET request is made from the S3 website endpoint a 301 HTTP status code will be returned indicating a redirect with the specified value as the redirect location.
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 CopyObjectRequest WithWebsiteRedirectLocation(
	string websiteRedirectLocation
)
Parameters
websiteRedirectLocation (String)
The redirect value to be returned on a GET request
Return Value
the request with the WebsiteRedirectLocation set

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