public void setSubnets(java.util.Collection<String> subnets) {
        if (subnets == null) {
            this.subnets = null;
            return;
        }

        this.subnets = new java.util.ArrayList<String>(subnets);
    }
<p>
The subnets defined for the registered identity provider.
</p>

@param subnets
       The subnets defined for the registered identity provider.
aws-java-sdk-licensemanagerusersubscriptions/src/main/java/com/amazonaws/services/licensemanagerusersubscriptions/model/Settings.java