public void setSubnetId(String subnetId) {
        this.subnetId = subnetId;
    }
<p>
The ID of the subnet that includes the IP address that you want to update. To get this ID, use <a
href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html"
>GetResolverEndpoint</a>.
</p>

@param subnetId
       The ID of the subnet that includes the IP address that you want to update. To get this ID, use <a href=
       "https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html"
       >GetResolverEndpoint</a>.
aws-java-sdk-route53resolver/src/main/java/com/amazonaws/services/route53resolver/model/IpAddressUpdate.java