Sets an optional unique identifier for the rule.
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 CORSRule WithId( string id )
Parameters
- id (String)
- Rule identifier
Return Value
this instance
Remarks
The ID value can be up to 255 characters long. The IDs help you find a rule in the configuration.