public void setSubnetGroup(SubnetGroup subnetGroup) {
        this.subnetGroup = subnetGroup;
    }
<p>
The subnet group object that has been deleted.
</p>

@param subnetGroup
       The subnet group object that has been deleted.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/DeleteSubnetGroupResult.java