Sets the size of the volume, in GiBs.
             
 Declaration Syntax
 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 CreateVolumeRequest WithSize( string size )
 Parameters
 Parameters- size (String)
- The size of the volume, in GiBs. Required if you are not creating a volume from a snapshot. Valid Values: 1-1024
 Return Value
 Return Valuethis instance