public void setSubnetId(String subnetId) {
        this.subnetId = subnetId;
    }
<p>
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the
current subnet.
</p>

@param subnetId
       The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone
       as the current subnet.
aws-java-sdk-cloudhsm/src/main/java/com/amazonaws/services/cloudhsm/model/ModifyHsmRequest.java