public Settings withSubnets(java.util.Collection<String> subnets) {
        setSubnets(subnets);
        return this;
    }
<p>
The subnets defined for the registered identity provider.
</p>

@param subnets
       The subnets defined for the registered identity provider.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-licensemanagerusersubscriptions/src/main/java/com/amazonaws/services/licensemanagerusersubscriptions/model/Settings.java