Sets the RequiredProtocols property.
Defines the protocols required for your distribution. Use this element to restrict
access to your distribution solely to HTTPS requests. Without this element,
CloudFront can use any available protocol to serve the request.
For a list of possible protocol values, refer
Protocol.

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 CloudFrontDistributionConfig WithRequiredProtocols( params Protocol[] protocols )

- protocols (array<Protocol>[]()[][])
- RequiredProtocols property is set to this value

this instance