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

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