public java.util.List<String> getSubnets() {
        return subnets;
    }
<p>
Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as
many as 16 subnets.
</p>

@return Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can
        specify as many as 16 subnets.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/AwsVpcConfiguration.java