AWS SDK for .NET Documentation
WithStatements Method (statements)
AmazonAmazon.Auth.AccessControlPolicyPolicyWithStatements(array<Statement>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the collection of statements contained by this policy and returns this policy object so that additional method calls can be chained together.

Individual statements in a policy are what specify the rules that enable or disable access to your AWS resources.

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 Policy WithStatements(
	params Statement[] statements
)
Parameters
statements (array<Statement>[]()[][])
The collection of statements included in this policy.
Return Value
this instance

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