AWS SDK for .NET Documentation
WithRedirect Method (redirect)
AmazonAmazon.S3.ModelRoutingRuleWithRedirect(RoutingRuleRedirect) Did this page help you?   Yes   No    Tell us about it...
You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return.
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 RoutingRule WithRedirect(
	RoutingRuleRedirect redirect
)
Parameters
redirect (RoutingRuleRedirect)
The redirect settings for the routing rule.
Return Value
the RoutingRuleCondition with the Redirect set

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