public java.util.List<String> getSubnets() {
        return subnets;
    }
<p>
The IDs of the subnets associated with the task or service.
</p>
<p>
You can provide up to 16 subnets.
</p>

@return The IDs of the subnets associated with the task or service.</p>
        <p>
        You can provide up to 16 subnets.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.java