AWS SDK for .NET Documentation
WithEnableMfaDelete Method (fEnabled)
AmazonAmazon.S3.ModelS3BucketVersioningConfigWithEnableMfaDelete(Boolean) Did this page help you?   Yes   No    Tell us about it...
Specifies whether MFA Delete is enabled on this S3 Bucket.
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 S3BucketVersioningConfig WithEnableMfaDelete(
	bool fEnabled
)
Parameters
fEnabled (Boolean)
True to enable MfaDelete on the S3 Bucket
Return Value
The S3 Versioning Configuration object with EnableMfaDelete modified
Remarks
If this property is set, please ensure that the SetBucketVersioningRequest's MfaCodes property is set with the Serial of and Token on the MFA device.

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