AWS SDK for .NET Documentation
WithId Method (id)
AmazonAmazon.Auth.AccessControlPolicyStatementWithId(String) Did this page help you?   Yes   No    Tell us about it...
Sets the ID for this statement and returns the updated statement so multiple calls can be chained together.

Statement IDs serve to help keep track of multiple statements, and are often used to give the statement a meaningful, human readable name.

Developers should be careful to not use the same statement ID for multiple statements in the same policy. Reusing the same statement ID in different policies is not a problem.

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 Statement WithId(
	string id
)
Parameters
id (String)
The new statement ID for this statement.
Return Value
this instance

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